Hi all,
Actually what is the difference between class xxxEventHandler created during creation Workflow Type and xxxEventHandler created during creation Workflow Approval ?
xxxEventHandler created during creation of Workflow Type usually has method:
-started
-completed
-canceled
xxxEventHandler created during creation of Workflow Approval usually has method:
-canceled
-changeRequest
-completed
-created
-denied
-returned
-started
My confusion are, Workflow Type event : Started / Completed / Canceled it's look the same as Workflow Approval event : Started / Completed / Denied, is it not ?
So if I already put some routine in let's say Workflow Type event : Started / Completed / Canceled, I don't need to put in Workflow Approval event, right ?
Kindly advice,
Thanks,
Toni.
Thanks in advance,
Toni
*This post is locked for comments
Yes its correct, You need to understand this, at times Workflow type contains two child elements
1) Task element 2) Approval element because at times document needs to be send for review before it is approved. The simple example you can see is HcmPositionAction workflow objects.
Yep, that's correct.
Hi Ievgen,
Thanks for your kind information.
So basically, if I understand correctly from it, especially from section whereby they talked about Element Level Event Handler and it is said we can use it for transition of the workflow document, so I only need to maintain in Workflow Approval event : Started / Completed / Denied only.
Workflow Approval event : Started / Completed / Denied is Element Level Event Handler whereas
Workflow Type event : Started / Completed / Canceled is Workflow Level Event Handler.
Can I say like that?
Thanks again.
Toni
Hi Toni,
You probably want to read this msdn article: https://msdn.microsoft.com/en-us/library/cc588240.aspx it has a description of both classes and some examples as well.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156