Alfresco Process Services, Enterprise v1.5
One of our Processes looks like the image here, with two consecutive User Tasks referencing the same form. In the form, the majority of the tasks are completed by the Support team, and after they complete their task, the Asset Management task is assigned to a group of 4 candidate users who complete a much smaller subsection of the same form. Ideally, this subsection would only be available to the Asset Management users - the visibility of the fields dependent upon whether or not one of the 4 candidate users is the current Task assignee, otherwise the fields are hidden. Is there a way to complete this on either the Form or Process Editors, or a way to pull a 'current task assignee' variable into the Form Editor? Perhaps some sort of Javascript event on FormRendered. Thanks in advance for your insight.
Solved! Go to Solution.
Adding some custom logic in form rendered is an option. You can make a task details api call (using form.taskId) to find-out the assignee of the task and compare it with the current logged in user scope.$root.account.id. Then hide or show the field using javascript.
Ciju
Adding some custom logic in form rendered is an option. You can make a task details api call (using form.taskId) to find-out the assignee of the task and compare it with the current logged in user scope.$root.account.id. Then hide or show the field using javascript.
Ciju
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.