Custom Function: Move_Job_to_other_Stage

Custom Function: Move_Job_to_other_Stage

  • This custom function can be used to move a job to any stage in the blueprint automatically.

  • Jobs can be moved to previous stages or upcoming stages. 

Business Scenario


Mark, the head of Marketing, reviews all the marketing articles in his organization. If Mark rejects an article, the job can automatically be moved back to any of the previous stages and assigned to the designated user using this custom function.  

Steps to configure the custom function

Before executing this custom function, you will have to configure the arguments and authorizate connections. Follow the below steps to configure the function. 

1. Configure the Arguments


First, configure  Argument Values for all the parameters used in the custom function. You can either specify a Custom Value or choose a Layout Field from the dropdown. Layout fields capture dynamic values from job fields corresponding to the custom function. 



  • jobID : Choose the  Job ID  Layout Field here. You can also specify the ID of the job. This will be available in the Job URL ( orchestly.zoho.com/blueprint/<org-name>/<module>/<jobID>).

  • toStageName:  Specify the stage to move the job.


2. Provide authorization using Connections


Connections helps you authenticate the API call for specific scopes of Orchestly and other internal Zoho applications used in the custom function. 

    1.   Invoke Connections to authorize your Orchestly account.

  • Click the  +Connections button in  Custom Functions . A new tab will open in your browser. 

  • Click  Add Connection in the top-right corner.

  • Choose  Zoho Oauth on the  Pick Your Service tab.

  • Enter a  Connection Name and choose the 'Orchestly.stage.READ' and 'Orchestly.job.ALL' scopes to connect. 

    2.   After successful authentication, include the connection details in the response block of the custom function.                    

           e.g: connection: <Connection-name>

Once the above steps are configured, you are all set to execute the custom function. 



Move_Job_to_other_Stage  is a part of Orchestly's pre-define custom functions available in Function Gallery. However, you can also write your own  custom functions in Orchestly.