Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-31-2023 07:41 PM
Hi,
I have a script include and there is a value stored in the variable and I have to access that value from workflow run script then how can I access that value? Please help me on this
Thanks
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-31-2023 09:19 PM
Try this
var myScript = { //myScript - script include name
getValue: function() {
var abc = gef[1];
return abc;
}
};
// In your workflow script
var myIncludedScript = gs.include('myScript');
var value = myIncludedScript.getValue();
gs.info(value);
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-31-2023 10:33 PM
It is not helpful and not working