This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Abort ITShop request when Custom Target System script fails

We've published AccountDef (Custom TS) for requesting in ITShop. Behind there is a process for event INSERT to UNSAccountB which triggers the script (creates account) on CTS.

How to abort ITShop request if script for creating account has failed?

Parents
  • Hi p.noga
    This would require some customization: first of all you'd need to establish a connection between the request and the UNSAccountB (maybe by using a template and evaluating the PWO).
    Then you'd need to customize your jobchain which is calling the custom target system script with additional jobs in the error path of the creation script:
    The first new process step would be to abort the PWO by calling the appropriate method. The second process step would be to delete the UNSAccountB using the SQLComponent, so no process is triggered on the object level (which might cause a deprovisioning process to start up causing additional errors).

    HTH
    Carsten
Reply
  • Hi p.noga
    This would require some customization: first of all you'd need to establish a connection between the request and the UNSAccountB (maybe by using a template and evaluating the PWO).
    Then you'd need to customize your jobchain which is calling the custom target system script with additional jobs in the error path of the creation script:
    The first new process step would be to abort the PWO by calling the appropriate method. The second process step would be to delete the UNSAccountB using the SQLComponent, so no process is triggered on the object level (which might cause a deprovisioning process to start up causing additional errors).

    HTH
    Carsten
Children
No Data