Skip to Content

How to automatically change pending status to failed

Hello experts,

Is there a way we can put a validity period for a pending assignment. Say after 2 days pending, the assignment can be changed from pending to failed automatically.

We have a scenario that we need to follow a GRC approval process before the business role ->privileges can be assigned to a end user. Some times, the process is stuck, and the assignment remains pending forever. We cannot fix this issue by remove the business role and assign it back. However, if the assignment becomes failed, or rejected, we can use retry function in UI or in script to re-trigger the approval process.

So what I want to achieve is that, when a business role-privileges are assigned to a user, it can keep pending for one day or two, then becomes failed automatically. I then setup a job to collect failed assignments and do the retry.

Is this feasible?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 13, 2016 at 04:49 PM

    If you need to manually fail a number of assignments, you could write a job with a script utilizing the uIS_Approval function. You could even write a job that runs on a schedule to look for approvals over your set amount of time, say 6 days, and that job could use uIS_Approval to fail any approvals that hit that mark.

    Add a comment
    10|10000 characters needed characters exceeded

    • I've considered that approach but, like you said, it's not the ideal solution. Again, since my company has SAP support, I'm going to wait to hear what they say. Hopefully they have something up their sleeves that's less disruptive to the data and a cleaner solution.

      As before, I'll post what I get back from them when I get it. 😊

  • Posted on Jul 11, 2016 at 12:05 PM

    Hi Chenyang,

    have you tried setting a timeout in the options of the approval task of the AC-Validation Process (or Task Group in 7.2)?



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.