Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Lock feature for campaigns/workflows in editing mode

Avatar

Community Advisor

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

Community Advisor

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