Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Issue in flow design

ChittemVeer
Giga Contributor

Hi All,

 

I have created a field in a Catalog Item and configured a UI Policy so that the field is visible only on the Catalog Task (sc_task) form and not on the RITM or REQ forms.

My requirement is that when a user selects a value in this field on the Catalog Task, another Catalog Task should be created automatically based on the selected choice value.

However, I am facing an issue where I am unable to fetch the field value in Flow Designer. Since the field is available on the Catalog Task, I would like to know the best approach to access this field value in the flow and use it to create another task.

Could you please suggest how to fetch the Catalog Task field value in Flow Designer and use it in a condition for creating a subsequent task?

 

Thanks and Regards,
Veeresh

10 REPLIES 10

keshav77
Tera Expert

@sristiG 

 could you verify whether the variable value is actually being updated and passed to the flow? One way to validate this is to capture the value in a Flow Variable (or log the variable value during flow execution) and confirm that it contains the expected data. If the variable is not being updated correctly, the flow condition relying on that value will not evaluate as expected, which could prevent the subsequent task/ticket from being created. Please check the flow execution details or share the logs so we can verify where the value is being lost.