'Closed_cancelled' is not a valid state on workflow

gunishi
Tera Guru

Hi there, 

 

I have a workflow activity where I need to set the status of the request (of the RITM) to closed cancelled. 

 

When I run the workflow, there is an error: 'closed_cancelled' is not defined. 

 

What should this be instead (maybe closed incomplete?) or is there a way to implement closed_cancelled, and I just need to declare it first?

 

Any help with this matter would be much appreciated.

 

Kind regards, 

G

2 ACCEPTED SOLUTIONS

AnveshKumar M
Tera Sage
Tera Sage

Hi @gunishi 

There is no closed_cancelled state for RITM table. If you want one you can create a new record in sys_choice table like the one below. If you are setting the state from a script you need to set value as '8'.

 

AnveshKumarM_0-1698048805552.png

 

Note: In the above form Table should be Task (task) only

 

Please mark my answer helpful and accept as solution if it helped you 👍✔️

 

 

Thanks,
Anvesh

View solution in original post

Danish Bhairag2
Tera Sage
Tera Sage

Hi @gunishi ,

 

As Anvesh suggested you can create a new choice as Closed Incomplete & then try to run the flow. This will solve the issue but again this will be a customization which will be reflected globally on RITM table which the client might agree or not. 

The best approach would be to go with closed_incomplete status as it is OOTB.

 

But again in the end kindly decide & take the necessary steps.

 

Thanks,

Danish

 

View solution in original post

4 REPLIES 4

AnveshKumar M
Tera Sage
Tera Sage

Hi @gunishi 

There is no closed_cancelled state for RITM table. If you want one you can create a new record in sys_choice table like the one below. If you are setting the state from a script you need to set value as '8'.

 

AnveshKumarM_0-1698048805552.png

 

Note: In the above form Table should be Task (task) only

 

Please mark my answer helpful and accept as solution if it helped you 👍✔️

 

 

Thanks,
Anvesh

Danish Bhairag2
Tera Sage
Tera Sage

Hi @gunishi ,

 

As Anvesh suggested you can create a new choice as Closed Incomplete & then try to run the flow. This will solve the issue but again this will be a customization which will be reflected globally on RITM table which the client might agree or not. 

The best approach would be to go with closed_incomplete status as it is OOTB.

 

But again in the end kindly decide & take the necessary steps.

 

Thanks,

Danish

 

Danish Bhairag2
Tera Sage
Tera Sage

Hi @gunishi ,

 

If we have answered your question could u please mark both the responses as "solution accepted" as it will help others to find the right answer.

 

Thanks,

Danish

 

gunishi
Tera Guru

Hi @Danish Bhairag2 @AnveshKumar M 

 

Thank you both for your help with this issue. 

 

Kind regards, 

G