Expand my Community achievements bar.

Lock feature for campaigns/workflows in editing mode

Avatar

Level 7

9/15/19

Its good to have a locking feature by default on the campaigns/workflows/web-apps or any other such activities on the platform which are already in editing mode by an user.

3 Comments

Avatar

Community Advisor

10/21/19

Hello,

This is something you can do by yourself by adding

  1. lock button to workflow form
  2. add new SOAP method to xtk:workflow schema and in js library
  3. add new field to xtk:workflow table eg. lockedBy where you would store operator id. Each time you press the button it will either lock the workflow or unlock .
  4. add sysfilter to xtk:workflow schema

<sysFilter name="writeAccess"> <condition enabledIf="$(lockedBy)!=0" expr="FALSE"/></sysFilter>

Avatar

Level 7

10/21/19

Thanks Marcel for sharing this.

Yes, i was hoping to have something on similar lines - OOB for some most commonly used activities .

Thanks,

Anita