New condition in approval activity is not working

VIKAS MISHRA
Tera Contributor

In my change workflow i have one approval activity with Approve and reject condition, howvever i have added one more condition in the same approval activity, which is "refer back" and provided one "refer back" UI action button on the approval form.

From now if any one clicks on in "refer back" button in apporval then approval state would be changed to "refered back" and my workflow should be rolled back to start. 

But i can see approval state is actually getting changes to "refered back" if we click on "refer back" button in approval form but my "approval" activity is not moving forward to next activity to "roll back". 

Please suggest why the new condition is not working.

 

VIKASMISHRA_0-1746671735466.png

 

VIKASMISHRA_1-1746671830996.png

 

VIKASMISHRA_2-1746671846411.png

 

6 REPLIES 6

Vasantharajan N
Giga Sage
Giga Sage

@VIKAS MISHRA - Did you check the back end value on the approval state field is same "referred_back" as what you have given in the "Activity condition"?


Thanks & Regards,
Vasanth

Yes this is the new choice value i have created for the state field of approval form "referred_back", and this is what i am using here.

@VIKAS MISHRA - Can you share the choice value screenshot in the XML format. Just to confirm it has no whitespaces. 

 

Also share the approval record XML format where the referred back value is set for the state


Thanks & Regards,
Vasanth

<xml>
<sys_choice>
<dependent_value/>
<element>state</element>
<hint/>
<inactive>false</inactive>
<label>Referred Back</label>
<language>en</language>
<name>sysapproval_approver</name>
<sequence>30</sequence>
<synonyms/>
<sys_created_by>vikmish</sys_created_by>
<sys_created_on>2025-05-08 01:55:22</sys_created_on>
<sys_domain>global</sys_domain>
<sys_domain_path>/</sys_domain_path>
<sys_id>189eea7a8351aa10cfed9320feaad3bf</sys_id>
<sys_mod_count>1</sys_mod_count>
<sys_updated_by>vikmish</sys_updated_by>
<sys_updated_on>2025-05-08 03:33:28</sys_updated_on>
<value>referred_back</value>
</sys_choice>
</xml>