Hi,
In e4x you don't need to call the new XML() constructor on inlined xml (no-op), the xml can be inlined directly with the code.
The @lastModified field is managed by xtk and so can't be updated via xtk.
What you have there is correct otherwise, operation="insertOrUpdate" is upsert in Campaign.
Are you asking about applying the attributes enabledIf and enabledOperation from the workflow update activity?
Thanks,
-Jon