Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Flow Designer: 'If' flow logic conusion

davidvetter
Tera Contributor

Hi all. I have a case where I've built a flow that tracks like this...

 

  • trigger (service catalog)>get catalog variables>ask for workflow start approval>wait for condition (approval is approved)
    • If 'approved' is 'true'>do the following in parallel (2 sctasks) and wait for condition closed complete>do the following in parallel (3 sctasks) and wait for closed complete>do the following in parallel (4 sctasks)>wait for closed complete>
      • If compute_esxi is > 0 then create sctask>else
      • If compute_bare_metal is > 0 then create sctask>else
      • Ask for approval to complete workflow
      • if approved is true>create sctask
      • end flow
    • If 'approved' is false>send notification>end flow

This is the engine for a RITM where 'compute_esxi' (etc.) are seven resource category types in a variable set (single line text) that can be populated with a number. If there is a number within any of the fields from the form, then an SCTask is created to perform an assigned action.

 

The red highlighted text is where the 'not evaluated' occurs. I've tried using the 'fx' within the data pills for the resource category types to do the convert string to number, and set the condition to 'compute_esxi' IS > 0. The step(s) to create the SCTasks get skipped over every time in the flow regardless of there being a number in the appropriate field from the RITM, or the 'fx' set to convert string to number.

 

I'd post screenshots but this work is being done on a classified system so not possible to do that.

0 REPLIES 0