Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Custom workflow - Reject even handler

$
0
0

Hi all,

I've created a custom workflow for New product creation, with status like this :

-Not submitted

-Submit4Review

-Reviewed

-Rejected

Submit4Release

-Approved

-NotApproved

-Canceled

The 1st submit is correct, it goes to workflow and my table approval status changed from Not submitted to Submit4Review

Problem is, if I REJECT the workitem, which event handler called ?

the notification by email is correct, it send me an email saying "record return..." but in my class ApprovalEventHandler, what method does it take ?

There are method:

- canceled

- changerequest

- completed

- created

- denied

- returned

- started

I've put my code to update my table approval status in method Returned but nothing changes? 

It is strange while email notification already correct and mentioned "Record return" but the status itself is still Submit4Review.

Please help.

Thanks in advance.

Toni


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>