You are viewing limited content. For full access, please sign in.

Question

Question

Running a workflow on a second schedule with an input parameter

asked on October 30, 2017

Hello All,

Not sure if this is possible; but I am looking to run a workflow on a schedule while inputting a parameter to indicate the task to perform (since this workflow performs multiple tasks). The workflow already has a scheduled starting rule for another task (e.g., Task A). It would be ideal to setup a second scheduled starting rule where I can somehow specify to run  a separate task (e.g., Task B). It looks as though it is not possible thought to specify an input parameter in a scheduled starting rule. 

 

Also, if I add an input parameter to an existing workflow, will that then break existing calls to the workflow where this parameter is not specified?

 

Thanks,

Julie

0 0

Answer

SELECTED ANSWER
replied on October 30, 2017

You can't set input parameters in scheduled rules. However, there is a %(rulename) token you can use to set the parameter value once the workflow starts.

As far as adding input parameters goes, that's up to the design. They are not required, so other workflows that call this one and don't specify it won't fail. You can give your input parameter a default value, so it doesn't cause issues with the logic within the workflow if no value is passed in from the parent workflow.

0 0
replied on October 30, 2017

 

Thanks Miruna - that's helpful to know about the %(rulename) token.

Julie

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.