cancel
Showing results for 
Search instead for 
Did you mean: 

how to instantiate a business object in workflow ?

Former Member
0 Kudos

reference thread -

Hello Martin,

If we use the first method - of creating the deadline object, how to instantiate the deadline object whenver we want in the workflow ?

As I have included the deadline object in the workflow container, it is already instantiated when the workflow triggers. But I want to instantiate it again later in one of the loops of my workflow template. I dont know how should I do that .

Could you kindly provide guidance for it ?

I have created a new thread for the question.

thank you very much in advance.

Edited by: rita c on May 27, 2008 11:08 PM

Accepted Solutions (1)

Accepted Solutions (1)

bhakti2
Active Participant
0 Kudos

Do I have to use the method genericinstantiate of object system ?

Former Member
0 Kudos

Use Macro SWC_CREATE_OBJECT.

Thanks

Arghadip

pokrakam
Active Contributor
0 Kudos

>

> Do I have to use the method genericinstantiate of object system ?

Yep, you answered your own question perfectly

bhakti2
Active Participant
0 Kudos

thank you for the responses:) marking the thrd closed

pokrakam
Active Contributor
0 Kudos

Hello Rita,

I know the thread is closed but I thought I might add one other way: to save you creating an additional workflow step, you can always assign an initial value to your container element (Initial Values tab). This way it is instantiated automatically when the WF starts.

Obviously this will only work for a key that's always the same. If your deadline object has a key that specifies the amount of days (as per the example in the WF book) then this would work nicely.

Cheers,

Mike

bhakti2
Active Participant
0 Kudos

Hi Mike,

I am already using this method for the first time.

But I need to do it again further in the workflow.

So I cannot avoid an additional step.

thank you

r

Answers (0)