Skip to Content
avatar image
Former Member

Instantiate element of subworkflow

Hi.

I have two workflows: workflowA and workflowB.

workflowA contains mandatory import container element obj which references to class myClass which implements interface If_workflow.

When i test workflowA with transaction SWUS i have option to set field INSTID( component of SIBFLPOR)  with some value. and execute workflowA

with instantiated obj. All works fine.

Now i want to include workflowA as subworkflow into workflowB but I dont know how to pass value from container element of workflowB

to obj as i can do it in SWUS

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 27, 2015 at 07:13 AM

    Hi,

       Just cerate a Actitivty step and add your workflowA  in workflowB. And in the binding pass the key of the class which is required to instantiate  class.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Marat,

      In workflow B do you have your object ? Is it instanciated ?

      If yes then in your workflow A you need to have the Object as an import parameter

      If your object is not instanciated in your workflow B you simply won't be able to pass it to workflow A

      Best regards

      Stephane