How to change state of catalog task of finished activity in workflow?

Aman Sharma1
Tera Contributor

Hi All,

I have a scenario where I am setting catalog task to pending change in a workflow activity 

but during execution, activity state showing as finished and I am not able to change the state of the task back to work in progress. 

Even using BR and Run script I am not able to change the state as the activity is showing as finished.

Kindly help with any suggestion to change the stat of the task

workflow.png

 

1 ACCEPTED SOLUTION

Brad Bowman
Kilo Patron
Kilo Patron

It sounds like you have a custom State for Catalog Tasks named 'pending change'?  Is this set as an active state - on any Catalog Task regardless of workflow when the State changes to pending change is the task then inactive, does the workflow activity show Finished?  Once this happens the only way I've found to re-open it is for the workflow to point back to the task.  So if you don't want the workflow to continue when the Catalog Task State changes to pending change, and it is currently, you need to either change it to a different State, or make pending change an active state.  If you want the workflow to continue on, but then need to come back to the task, have a path that points back to the Catalog Task and it will appear in progress and re-opened. 

View solution in original post

2 REPLIES 2

Brad Bowman
Kilo Patron
Kilo Patron

It sounds like you have a custom State for Catalog Tasks named 'pending change'?  Is this set as an active state - on any Catalog Task regardless of workflow when the State changes to pending change is the task then inactive, does the workflow activity show Finished?  Once this happens the only way I've found to re-open it is for the workflow to point back to the task.  So if you don't want the workflow to continue when the Catalog Task State changes to pending change, and it is currently, you need to either change it to a different State, or make pending change an active state.  If you want the workflow to continue on, but then need to come back to the task, have a path that points back to the Catalog Task and it will appear in progress and re-opened. 

Aman Sharma1
Tera Contributor

Thank you for your response, I will try this solution.