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

AttestationCase trigger event on denied

Hi all,

 

I've created an Attestation Procedure on PersonWantsOrg table. If the attestation is denied I'd like to start the Unsubscribe of the request.

I think 2 ways to do this:

1) If the approver denied the attestation in the workflow then I use an EX approval procedure to trigger an event on the AttestationCase to trigger the unsubscribe of the request

CONS: I have to send back makedecision to the attestation workflow after trigger the unsubscribe so I start the unsubscribe before the attestation ends.

Teorically If something goes wrong with the triggers I have my attestation pending for ever because the makedecision was never sent back.

 

2) Trigger the unsubscribe event from the DENY event of the AttestationCase

CONS I have to filter the deny event only for the attestation case of my attestation procedure and my workflow because I could have other attestation that run with that attestation procedure. And I don't like the idea to put the name or the UID of the approval policy in the generating condition of my attestationCase(deny) process.

 

There is any other way to do this? There is an OOTB event/procedure/script/ that you can define to be triggere on the positive/negative end of an attestation?

 

If no which of the above 2 is better?

 

 

Thanks Mik