Getting Error while publishing the flow

RunsumS
Tera Contributor

Hi,

 

I am getting below error while publishing the flow, but it is getting saved successfully.

 

Error: "Failed to find reference to fd_data._4__update_record.__action_status__"

 

Can someone please help, what should i check? my flow is having many activities not possible to check each and every activity, it will take lots of time.

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @RunsumS ,

 

This error usually come when there is no proper code written in script tag to get the variable value.

You need to check at least all the activity which has script written and used "fd_data._12_.step.field_name". This field mismatch usually happen when you are creating new activity or deleting new activity in between of script written earlier, steps number will get change on that case, hence flow engine unable to identify the same, resulting it through an error.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

View solution in original post

Here in this Video, I have covered the Custom Application Pattern Troubleshooting and configuration Thank you for visiting my channel. Here, I'll share various technical knowledge. Feel free to reach out to me directly for any Service Now-related queries. Your support encourages me to consistently
3 REPLIES 3

Runjay Patel
Giga Sage

Hi @RunsumS ,

 

This error usually come when there is no proper code written in script tag to get the variable value.

You need to check at least all the activity which has script written and used "fd_data._12_.step.field_name". This field mismatch usually happen when you are creating new activity or deleting new activity in between of script written earlier, steps number will get change on that case, hence flow engine unable to identify the same, resulting it through an error.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

Here in this Video, I have covered the Custom Application Pattern Troubleshooting and configuration Thank you for visiting my channel. Here, I'll share various technical knowledge. Feel free to reach out to me directly for any Service Now-related queries. Your support encourages me to consistently

Hi @Runjay Patel ,

 

Thanks for the reply, will try and get back to you.

Hi @Runjay Patel ,

 

It worked, due to mismatch of step in my script it was giving error.