Posted: 21 Nov 2016 13:00 EST Last activity: 29 Nov 2016 10:13 EST
Invoke an activity conditionally based on date
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
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.
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).
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.
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.