Ade M Posted May 2, 2023 Posted May 2, 2023 Looking through the threads I came across https://community.hornbill.com/topic/22378-task-assignment-assign-to-variable-for-groups/#comment-105492 Is there any scope for a future improvement to enable Task Assignment - Assign to Variable for Groups/Roles as this would make the BPM's a lot slicker as there is potentially up to a dozen group/roles The Teams make up would be for example TEAM_A TEAM_A_DEVS, TEAM_A_TESTERS , TEAM_A_BUSINESS ........ TEAM_B TEAM_B_DEVS, TEAM_B_TESTERS , TEAM_B_BUSINESS ........ TEAM_C ...... The roles could be then dynamicaly assigned without the need for quite a few Decision branches. Thanks in advance
Bob Dickinson Posted May 2, 2023 Posted May 2, 2023 Hi @Ade M It IS actually possible to use the "Assign to Variable" option on a Human Task to a User, Team or Role. You just need to use the correct syntax (I've noticed this isn't documented anywhere however, so will look to correct this). Also, this is not a free text field (at present) so the string will need to be injected in from somewhere else - possibly if you have stored the generated string in a custom field, that could be an option. The strings you need are: To assign to a Team urn:sys:group:<team ID> e.g. urn:sys:group:ABCCORP/bobteam/ To assign to a User urn:sys:user:<UserID> e.g. urn:sys:user:bobd To assign to a Role urn:sys:role:<role name> e.g. urn:sys:role:Asset Manager 1
Ade M Posted May 2, 2023 Author Posted May 2, 2023 Thanks for the quick reply, The Assign to a role would work- shame its not a free txt that could be done with some free txt manipulation but i can always use a series of custom fields 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now