Workflow Variable Returning Undefined

kristenankeny
Tera Guru

I am running this simple script in a run script activity for a workflow running on the rm_enhancement table:

workflow.variables.skip = 'no';
gs.log('Beginning= ' + workflow.variables.skip,'EnhancementApprovals');

 

The log keeps returning "Beginning = undefined". What am I missing? Why can I not set a workflow variable in this workflow?

5 REPLIES 5

kristenankeny
Tera Guru

I realized what I needed was scratchpad, not variable. One of those situations where you've been bouncing between a bunch of projects and your mind suddenly is convinced the wrong thing is right...