- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Thank you for all your responses.
After adding the additional data @internalName
I no longer have that error but I got this one this time, I think it's a code error *
Here's the code I used :
var wkf2restart = NLWS.xtkQueryDef.create(
<queryDef schema={vars.targetSchema} operation="select">
<select>
<node expr="@internalName"/>
</select>
</queryDef>
);
var workflows = wkf2restart.ExecuteQuery()
for each(var workflow in workflows.getElement()) {
logInfo("restarting :" + workflow.@internalName);
xtk.workflow.restart(workflow.@internalName);
}
Views
Replies
0 Likes
Total Likes