Skip to main content
Anita_punmiya
Level 5
Sep 16, 2019 3:04 AM UTC
Delivered

Lock feature for campaigns/workflows in editing mode

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 replies

Marcel_Szimonisz
Community Advisor
Community Advisor
Oct 21, 2019 9:27 AM UTC

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>

Translate
Anita_punmiya
Level 5
Oct 21, 2019 10:36 PM UTC

Thanks Marcel for sharing this.

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

Thanks,

Anita

Translate
Sukrity_Wadhwa
Level 4
Feb 3, 2021 10:34 AM UTC

XML edition is already blocked. We need details if it requires more guardrails.

Translate
Sukrity Wadhwa