- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello @mpalaves
You can get the campaign name in workflow with this code.
var q = xtk.queryDef.create(
<queryDef schema="xtk:workflow" operation="get">
<select>
<node expr="[operation/@label]" alias="@label/>
</select>
<where>
<condition expr={"@id ="+instance.id} />
</where>
</queryDef>
);
var workflow= q.ExecuteQuery();
logInfo("Operation Name is :"+workflow.@label);