Expand my Community achievements bar.

The 5th edition of the Campaign Community Lens newsletter is out now!

Lock feature for campaigns/workflows in editing mode

Avatar

Level 7

15-09-2019

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

21-10-2019

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

21-10-2019

Thanks Marcel for sharing this.

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

Thanks,

Anita

page footer