Dynamically Add Workflow Process Path

Hi Community,

Just wondering if this error is common.

Basically I have a workflow with multiple activities in sequence. I also have another activity that is not in the sequence and has no paths to it (we'll call this activity X).

I am looking to, via an action, create a workflow process path to activity X and then vote that path. I am getting an insufficient permission error to add a workflow process path. Am I missing something here? Can Add for that item type shows admin has rights. Is there another item I need to take into account?

Parents Reply
  • Either give them the permissions in the ItemType (I don't recommend that) or add the line to the method to give them the permission and then remove the permission at the end.

    I forgot to add this part from our scripts when I posted before.  This removes the permissions.

    if (PermissionWasSet==true)
    {
    Aras.Server.Security.Permissions.RevokeIdentity(s_Identity);
    }

Children
No Data