Updating an Options value from within a workflow | Community
Skip to main content
Level 2
June 7, 2021
Solved

Updating an Options value from within a workflow

  • June 7, 2021
  • 2 replies
  • 1607 views

Hi everyone, 

Is there a way to update an Options value directly from within a workflow? I need to set one value at the beginning of the workflow and another one at the end of the workflow as it completes. I've tried the setOption function in a couple different nodes now, but they all kept erring out. 

 

Thank you,

Jim

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Craig_Thonis

Hi Jim,

 

Can you let us know what error you are getting?

 

Thanks,

Craig

2 replies

Craig_Thonis
Adobe Employee
Craig_ThonisAdobe EmployeeAccepted solution
Adobe Employee
June 8, 2021

Hi Jim,

 

Can you let us know what error you are getting?

 

Thanks,

Craig

Level 2
June 8, 2021
Hi Craig, the errors are variations off of "Unable to parse expression 'setOption(OPT23,'DONE')'." OPT23 being the option name, and 'DONE' being the value I want to update the option with. Thank you! Jim
Level 2
June 8, 2021

I was able to get this to work with the update data node. Thanks