Delegation functionality

1
Hi,   I have a requirement where I have to delegate tasks from one user to another user when they are on vacation. I tried by creating an entity called Delegation and change the user name from one to another using microflows. But I am running into errors which I am not able to fix. Please let me know if you have any ideas regarding this and how I can achieve this using Studio Pro 9.19.0
asked
1 answers
0

Hello Ramya S Ramesh,

 

I don't think you need an entity Delegation here

 

What you can do is letting a Microflow change the associated user of said Task

You can do that by:

  1.  Create an entity called Task.
  2.  Create a specialization of Account, name it MyUser and add boolean attribute OnVacation.
  3.  Let Task have two associations with MyUser (Task_TaskOwner) and (Task_Delegate) both (*->1)
  4.  Create a Microflow that changes the associated (Task_Delegate) MyUser of a Task when (Task_TaskOwner) MyUser's OnVacation is set to true.

*You can add validation rules to your Microflow to prevent it from replacing the associated MyUser to another whose on vacation as well.

*You can automate the process by letting a Microflow be called whenever someone goes on a vacation.

 

Hope this helps!

answered