Question
EY
US
Last activity: 29 Nov 2016 10:14 EST
Invoke an activity conditionally based on date
Hi
Please help me with my requirement. I have a screen as shown in the attached picture, where in I have Item, country, status and release date. When the status is approved the Release date will be enabled and user can enter any future date. My requirement is to run an activity on that particular date for that item. Basically I need to run the activity three times on three different dates for the three items. Can somebody throw some light on how to achieve this funcationality
Thanks
Babu
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
EY
US
Hi All
I am planning to implement a service Level on the assignment which runs the required activity daily until the assignment is completed. The activity will iterate through the item pagelist and compare the release date with current date and process the item that has release date equals to current date.
Thanks
Babu
Pegasystems Inc.
US
Could you use Queue-For-Agent and create a queue item that will be processed by a custom agent?
EY
US
Dear CarissaW
Can you please explain it on hight level as I am not familiar with the method Queue-For-Agent method.
Thanks
Babu
Pegasystems Inc.
IN
Hi,
I believe you are displaying the content through Grid, is there a possibility to use onChange event and run the activity ?
Common Wealth Bank
AU
on that property in the section define an action and call an activity. In that activity call que-for-Agent method and queue it up. In the agent activity write a logic like if the release date matches process that business logic.
Pegasystems Inc.
IN
What I understood, I think the visibility of "Release date" is conditional (when status=Approved). You can add an action in the "Release date" column with event as Change and action as "Run activity" on the row just selected. This way you will be calling that activity mulitiple time(s) as each release date change(s).
EY
US
Dear All
Thanks for the replies. The problem is the user can enter future date for the release date. Basically, I need to make sure that the activity runs on the rlease date not on the current date. For example the user can enter three different dates in december 2016 for the three items and need to execute the activity on the three different release dates.
Thanks
Babu
Accepted Solution
EY
US
Hi All
I am planning to implement a service Level on the assignment which runs the required activity daily until the assignment is completed. The activity will iterate through the item pagelist and compare the release date with current date and process the item that has release date equals to current date.
Thanks
Babu