Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

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

Rajyalakshmi
Mega Guru

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
Mega Patron

Can you share the screenshots?


Raghav
MVP 2023
LinkedIn

Community Alums
Not applicable

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.