Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Flow Designer - Catalog Task variables

Patrick Quinlan
Giga Guru

I am just getting into investigating Flow Designer. I'm attempting to create a Flow for an existing catalog item that is currently using a workflow. In the catalog item variables, we have container variables so that the input variables display correctly and it has never been a problem while using a workflow. 

The catalog task that is created as a result of the Flow, however, seems to ignore the formatting variables. In fact, when selecting the variables when building the Flow, the 'container start' variables aren't available.

I attempted to duplicate the container variables as 'flow catalog variables' inside Flow Designer but this didn't seem to work either. 

The RITM that is created using the Flow displays the variables correctly. 

 

What am I missing?

11 REPLIES 11

Hi @Patrick Quinlan 

Did my reply answer your question?

If so, please mark the appropriate response as "correct" so that the question will appear as resolved for other users who may have a similar question in the future.

If not, please tell me what you are still missing.

Many thanks & kind regards
Maik

SyaharruddinCSC
Tera Expert

Adding to Maik Skoddow solution, you don't have to set all variables as global. Just the "Container Start" variable.

find_real_file.png

You have to add "Container End" variable when creating the task in Flow Designer. "Container Start" will still not show in the Flow Designer, but the variables in the task will be formatted correctly.

It really doesn't make sense since the global attribute on variable is not documented for this, but it works.