The CreatorCon Call for Content is officially open! Get started here.

How to set activity.result value in create task activity?

Rajyalakshmi
Tera Expert

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 .

 

 

 

2 REPLIES 2

RaghavSh
Kilo Patron

Can you share the screenshots?


Raghav
MVP 2023
LinkedIn

M Iftikhar
Giga Sage

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.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.