Jump to content

Recommended Posts

Hi guys,

Consider this scenario:

I have a request category with 3 classic workflow task attached:

Request category

        Task 10

                     If the status of this task is APP then the task 20 and 30 most be skipped.

                     If the status of this task is APP2 then the task 20 most be Pending and the task 30 most be Waiting.

        Task 20

        Task 30

So to do this I've followed this steps:

1) Put the file upd_val.spl in the folder $NXROOT/site/mods/majic;

2) Recycle spel_srvr or restart the ca sdm services;

3) Create an action macro using this code:

format("cr = '%s' AND sequence IN (20, 30)", cr.persistent_id), // search over other tasks in the same parent request with seq 20, 30
1, 0, // delays
"status", "SKIP" // new status


4) Add this action macro to the status on task 10 that most be completed to skip the task 20 and 30;



https://communities.ca.com/docs/DOC-231155346 by @cdtj



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...