job scheduling in RTC
![]() Hi, I have a situation where certain work item needs to be approved once created. As all users can not be given approval permissions (but can create that kind of work items), this task has to be done with a generic user who has the permission. I want to define a trigger/listener (work item save) and a job scheduler for doing this task.Can anyone please help me how to define a trigger on work item save operation and invoke the job. Thank you very much. |
2 answers
![]()
Ralph Schoon (61.8k●3●36●43)
| answered Apr 04 '13, 2:17 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Can you describe your use case here? I seem to be unable to understand it from the description.
You seem to require an approval to be automatically approved by some background job. But this does not make sense to me. Approvals are used as gating mechanism. An approval would be required to proceed in a workflow. So a required approval precondition is used that prevents something without approval. The approval gets added (can be automatic) and an approver is assigned (can also be automatic), so basically the user doing this needs the permission to add an approval to the work item. An approval can only be approved by the user specified in the approval. Having an automation that approves an approval conflicts with the purpose of an approval. I would rather not require the approval at all or have certain roles that can override the required approval if needed. Comments Hi Ralph,
Explained above is true and I agree with you.
Please correct me if this approach is wrong and Please suggest me a way to do it. Thank you very much Ralph. ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Jyothi,
|