How to assign a task to 2 different process variables holding 2 different groups on it.
Appian Version 19.4
Discussion posts and replies are publicly visible
here inside i select expression and wanted to add 2 pv!. Not able to do it suggest
In your expression you can make an array of the pv!s that hold the Groups you want to assign:
{ pv!group1, pv!group2 }
did not work
It's not clear what you mean by "it did not work". Your original question was how to assign a task to a combination of Groups from more than one pv! which I responded to (and tested it myself, so I know it does work!)
Now you show the re-assignment privileges configuration and I do not understand what you are tying to say. Please could elaborate on what you're trying to achieve and what's blocking you from achieving this.
Yes Steward, that was part of our use case. we are trying to assign the task to 2 group people(1 - normal user, 2 - administrator) and give different privilege on "Set re-assignment privileges for assignees" . so that only administrator can reject / reassign task assigned to the normal group user.
Both the pv! are of datatype group.
Do you need to use the value from the pv!s ? If you point directly at two different groups you can separate their reassignment privileges:
Are you dynamically choosing the Group values in the process?
In case this is a point of confusion, I'd like to point out that if you edit the assignment field by expression, you will usually need to clear out the prior value or else the expression editor (for whatever reason) will add the new value as an additional option after your original value. Using this method you should of course be able to assign it to the 2 separate PVs in such a way that it ends up more like Stewart's most recent screenshot in terms of reassignment privs, but assigned to PVs instead of manually-declared groups.
Additionally, referring to "so that only administrator can reject / reassign task assigned to the normal group user". Note the administrator's task will not natively be able to access and reassign the OTHER / normal user's task with the Reassignment Privileges setting - this will only allow them to reassign THEIR administrator task. To reassign another user's task the administrator group would need at least Manager rights on the process model or process instance and a way to retrieve the normal user's task to access the reassign function (reporting, etc).
Does the administrator need to work the task also, or are you only giving them a task for the purpose of reassigning the normal user's task? Just to clarify there..
Thanks Mike , as you said that was the problem with the Expression editor. Now using your details we are able to achieve the same as in Steward screenshot. this is what we have been trying to achieve.