Solved

How to start a Scheduled Site Workflow and pass it an Initiation Variable

  • 17 November 2023
  • 2 replies
  • 30 views

Badge +4

I have a site workflow with a variable defined as [Initiation]=Yes.  When I manually run the workflow, I am prompted for the value of the variable, and everything runs fine.  However, I’d like to pass this variable into a scheduled workflow.  Is that possible?  The variable will change depending on the date/time of its run which will be controlled by the schedule. 

 

icon

Best answer by Garrett 17 November 2023, 14:57

View original

2 replies

Userlevel 6
Badge +16

Hi @SShaffer2 

Consider using a List to store the variable.
 

I use a List called “config” to store the mode - Production or Development

ID AppName Mode
1 LeaveApproval Development
2 OnBoarding Production

 

Workflow will query the List by AppName and get the Mode value. Development will load my email as the Approval and Production will load a different set of emails

Badge +4

Good idea.  Thanks. 

Reply