Skip to Content
author's profile photo Former Member
Former Member

Problem in Object instanciation at Wait event of the workflow.

Hi Expert,

I have created a custom workflow using classes. In my workflow there are two other event to control the process from outside workflow. When these event triggered outside It captured in our Workflow but it looks that its not able to instantiate the object at that time. And its landing to the error with Error when processing node '0000000304' (ParForEach index 000000) When i checked in Diagnosis transaction found the object was not instantiated.

I checked the Binding and all are in place. And there is no problem at trigerring the Event as the same routine is used to trigger the Workflow with create event. I am suspecting the issue might be at BI_PERSISTENTFIND_BY_LPOR or BI_PERSISTENTLPOR method of the class. But I am not sure as I am using the class first time for the workflow.

Please suggest.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 03, 2012 at 01:49 PM

    Hi-

    And there is no problem at trigerring the Event as the same routine is used to trigger the Workflow with create event.

    It seems, you have mentioned the WF container (refers to class) with class event in wait step but this WF container was not instantiated when wait event occurs. WF container should have instance (Class or BO) for wait step unless and until if you are using correlation

    Can you tell us, the triggering event and 2 other wait event belongs to same class?. If it is yes, probably you need to bind class instance from event to WF container (mentioned in wait step)

    If 2 other wait event belongs to separate class, then yes you need to instantiate that class using FIND_BY_LPOR and LPOR methods, before your wait step

    Vinoth

    Edited by: S Vinoth on Jan 3, 2012 7:19 PM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.