cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in custom workflow

Former Member
0 Kudos

When i call a method of a subtype in a task, the WF log shows error that this method is not present in the super type

for eg: i have created a subtype ZBUS2012 of super type BUS2012

the WF is triggered by one of the events of BUS2012

i then assign this BO to a WF container element of type ZBUS2012

then i have a step which has a call to a custom method of ZBUS2012.

whe the WF is triggered, this step gives error

and in the WF log it says that the custom method does not exist in BUS2012

i am using BUS2012 only to trigger the WF

for all the further processing in the WF, i use ZBUS2012.

then why I am getting this error.

please explain.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I think in the task you might be using standard Business Object BUS2012. I think you should use ZBUS2012 instead.

Thanks

Arghadip

Former Member
0 Kudos

Hi Juheb,

Please verify once if the delegation is done correctly. Have you delegated BUS2012 to ZBUS2012? Once you have done this, in your workflow task, use the BO reference as ZBUS2012 and not BUS2012. I dont think the event triggering from BUS2012 will cause any issue.

Does this help you?

Former Member
0 Kudos

Hello,

I am not able to define delegation for this ZBo. refer to

former_member554978
Active Contributor
0 Kudos

Once you have delegated the ZBO in SWO6 tcode...

you have to use ZBo(ZBUS2012) for all your methods in workflow(Both custom and standard)