cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Trying in wf to get user comments on the promotion notice approve task but getting an exception

@_1647
12-Amethyst

Trying in wf to get user comments on the promotion notice approve task but getting an exception

Hi ,
I am also trying in wf to get user comments on the promotion notice approve task but getting an exception in BGMS :
Caused by: java.lang.ClassCastException: class wt.workflow.engine.WfProcess cannot be cast to class wt.workflow.work.WfAssignedActivity (wt.workflow.engine.WfProcess and wt.workflow.work.WfAssignedActivity are in unnamed module of loader 'app')

1 REPLY 1
avillanueva
22-Sapphire II
(To:@_1647)

Yes, these are not the same objects. The WF class structure is some of the most convoluted but has been around forever. I would create yourself a diagram to make sense of it. Post your method call since it might be you passed the wrong object. Are you executing workflow code in an expression?

Announcements

Top Tags