- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2015 07:20 AM
I have created a 'Yes/No' type variable. I would like to set the value to 'Yes' at a particular stage in the workflow using a 'Run Script'.
I have tried current.variable_name = 'Yes' which does not work. Any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2015 07:34 AM
sorry...there was a mistake
current.variables.variable_name ='yes' ; // when its not part of variable set
current.variable_pool.variable_name = 'yes'; //when part of variable set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2015 07:21 AM
current.variable.variable_name = 'yes';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2015 07:30 AM
Unfortunately, that did not work:
current.variable.variable_name = 'yes';
Tried current.variable.variable_name = 'Yes'; as well.
To be more specific, the variable i am using is part of a variable set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2015 07:34 AM
sorry...there was a mistake
current.variables.variable_name ='yes' ; // when its not part of variable set
current.variable_pool.variable_name = 'yes'; //when part of variable set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2015 07:42 AM
Thank you sir!!!