cancel
Showing results for 
Search instead for 
Did you mean: 

Update an Environment Property via a Recipe

mahlon
Deputy Chef I
Deputy Chef I

I'm looking to use an environment property to determine whether a recipe should take a certain action.  That will be determined by whether a user is ready for the sync to begin running, so the recipe needs to be running, but won't have access to Workato to update the environment property via the UI.  I'm hoping that I can build in a recipe action to update the environment property automatically once the sync is ready to begin.  Can I do that automatically via a recipe action?

2 REPLIES 2

Bhagya_pola
Executive Chef I
Executive Chef I

Hello @mahlon ,

I haven't tried it before but yeah there is a way to do it in recipe using developer APIs
please refer below url
Workato API - Environment properties | Workato Docs

shivakumara
Executive Chef III
Executive Chef III

Hi @mahlon ,
Please kindly confirm from your end whether you have access to perform updates via the API. Due to RBAC (Role-Based Access Control) restrictions in Workato, it’s possible that update permissions may not be granted. 

Please check whether you have access to the Developer API for the collaborator role that has been assigned to you.

Updating key value in workato.png
Thanks and Regards,
Shivakumara K A