Skip to Content
Author's profile photo Former Member

Retry failed assignments (Privilege)

There are situation when privilege assignment gets failed, say the target application was unavailable at the time of original privilege assignment. It is nice to have a job to re-attempt the failed provisioning at a later stage once the target is up or any provisioning flow is corrected.

Following are the detailed steps to have such job created

Create New -> Empty Job and name it as ‘Retry failed assignments’

Now include a ‘To Generic’ pass to the job

In the source tab fill the ‘Database’ and ‘SQL statement’ fields

uRetryPrivilegeAdd  function retries a privilege assignment for a given entry.

// Main function: Recon

function Recon(Par){

      OutString = uRetryPrivilegeAdd(Par.get(“mcThisMSKEY”), Par.get(“mcOtherMSKEY”));



mcThisMSKEY – MSKey of the user.

mcOtherMSKEY –  MSKey of the privilege.

OutString – Empty string or error message prefixed with !ERROR:.

This can be set as a periodic scheduled job that retries all failed privileges.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.