Loading

Community Manager (Flexera Software) asked a question.

Parameters and Run Conditions
I am working on creating a new workflow, it is quite a complex beast so for my sanity I wanted to have a parameter lets call it "Status", then at each step in my workflow I would have a run condition set so the activity would only run if "Status" -eq Continue. Sounds simple, but I am struggling with it so I am hoping someone can help me out. I create the parameter as part of Activity 1, I then take it as an input into each subsequent step and then output it at the end of the step. When I am creating my run condition and I look up my parameter Status, I see that there are entries for the parameter from each action in my workflow. My workflow could have many steps, and the status could be set to "Finish" by any step in the process. Do I have to set run conditions to check the status at every step in the process and continue only if they are all "continue" as so: or is there a simple way to just update a single parameter at every step in the process so I can just have a single run condition on each step?

  • Community Manager (Flexera Software)

    Hi Mark I think the best thing is that you create a feature request in our support portal. That way you will get updates along the way. Go here and register your Feature Request --->  ServiceNow  
    Selected as Best
  • Community Manager (Flexera Software)

    Hi Mark I would say that you need to look at ALL statuses above. A run condition does not end the workflow if the result of the condition is False. It only skips that step. So the config in your screenshoot looks like the right way to go.
  • Community Manager (Flexera Software)

    I would use a global 'settings' variable for this as opposed to activity based. That way there is only one version of the param to check in your run conditions.
    • Community Manager (Flexera Software)

      Hey I don't think that's possible. As far as i know you can't update a global setting in run time and even if you could, updating a global setting would update the status for all running workflows. I think Mark want's to make a decision per running workflow, not one decision for all workflows.
      • Community Manager (Flexera Software)

        Hi Joakim, It looks like you are correct, I created a global settings parameter, but I cannot find any way to update it as part of the process.  I think a good feature request would be to allow a parameter to be created and updated throughout the life of the workflow, rather than create a new instance at each step in the process.  Can someone from Snow create that FR for me please? David if I am missing something here, please let me know how to use the feature you suggested.
        Expand Post
        • Community Manager (Flexera Software)

          Hi Mark I think the best thing is that you create a feature request in our support portal. That way you will get updates along the way. Go here and register your Feature Request --->  ServiceNow  
          Selected as Best

Related  Product Forums


                     â†’ Flexera One



                      â†’ Snow Atlas



                      â†’ FlexNet Manager



                      â†’ Snow License Manager



                       â†’ App Broker


       Need help finding an answer?


        Ask a Question →


Loading
Parameters and Run Conditions