Get Task Assignee
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2016 02:55 AM
Hello,
I am newbie to activiti. I have one single form with lots of field but now I want to set visibility of the form fields according to the assignee of the task(User Task) how can I achieve that getting current task assignee on form rendered event and manipulating the form field?
thanks
I am newbie to activiti. I have one single form with lots of field but now I want to set visibility of the form fields according to the assignee of the task(User Task) how can I achieve that getting current task assignee on form rendered event and manipulating the form field?
thanks
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2016 06:22 AM
That's not available out of the box. You would need custom javascript for that, for example via https://docs.alfresco.com/activiti/docs/dev-guide/1.4.0/#_start_and_task_form_customisation or using the 'javascript' tab on the form.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2016 07:43 AM
Thank you so much GOT it… and one more question is how can i create user dynamically in my service task and also assign them the task?
Thanks in advance.
Thanks in advance.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2016 08:15 AM
Your service task would need to be a Spring bean. In it, inject the UserService (to create the user) and the taskService (to assign tasks).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2016 12:50 AM
Thanks alot joram…!!
