Flow designer - Check if variabler is not empty

gugaj
Tera Contributor
Hi, I have a catalog item that refers to changing attributes on a service. The item has several variables that can generate changes on attribut on the service, but the problem is that if the variables are empty, existing information on the service is overwritten.
Does anyone have tips on how in flow designer I first check that variables are not empty and then update only attributes on services that contain data in variables?

 

7 REPLIES 7

saivishwaja val
Tera Contributor

that question more related to business process rather than servicenow 

you should probably wait till point all data is in then update ci table

or create a task to fill that data before closing that task

or write a wait for condition till data gets filled

All the data is today in the cmdb_ci_service table, but it needs to be kept updated and the data will be updated via an order form, hence a question how to automate the update of attributes via the flow desinger and variables in a form 🙂

So the question is how I capture all variables that contain data (and skip empty variabbles), and then run an update on each attribute based on variables that contain data.

gugaj
Tera Contributor

I solved thisissue when I added a parallel flow for each varaible that I nedd to check if it was empty.  I don´t know if this is the best solution but it works for me