How to set activity.result value in create task activity?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
We have created a workflow in sc_task level ,we have used create task activity to create sctask in this workflow.We have used conditions on this create task as below.
Close Complete
Condition-activity.result=='3'
Close Incomplete
Condition-activity.result=='4'
Workflow is not validating this conditions and stuck in this "Create task " activity ,could you please suggest what will be the issue .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Can you share the screenshots?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Rajyalakshmi,
Could you please share a screenshot of your Create Task activity configuration?
From my understanding the Create Task activity itself doesn’t set activity.result, so your conditions won’t work. Instead, add a “Wait for Condition” activity after the Create Task to check the created task’s state (Closed Complete vs Closed Incomplete). That way, the workflow will branch correctly once the task is updated.
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.