Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error while creating container Element in WF

Former Member
0 Likes
807

Hi,

I have created a container element with field vbeln, and specified an initial value. Created mail step and activated it. I have given the mail subject and content as "value given : &vbeln&". When I try to test this I couldn't find the container element in " Input Data" tab of the Test Data and getting the message as "Contnr elem. VBELN is for read purposes only. No values are assigned to it."

Could anyone suggest me to correct this, because I am new to WF.

Thanks,

AA

5 REPLIES 5
Read only

Former Member
0 Likes
745

Hi AA,

You would probably need to create more than one containers.

In workflows, we have following types of containers:

1. Workflow container

2. Task Container

3. Event Container

Now, since you need the element VBELN, try the following:

1. Create a WF container for VBELN. Make it as both input and output parameter.

2. Create a container for the Mail Step, again with VBELN field as an input parameter.

3. There would be a button for binding in the mailstep. Bind the Field VBELN from Work flow container to the Mail Step container.

Once binding is done, save it and Activate the Workflow.

Hope this helps.

Do get back in case of any issues.

Regards,

Sonal

Read only

0 Likes
745

Hi Sonal,

Thanks. Please explain me the step 1 with further details. I don't understand, could you list out the steps clearly for input and output parameter creation.

--AA

Read only

0 Likes
745

Hi,

When u create a Container, there is one tab in that window called 'Properties'.

In this tab, there are check boxes to make the parameter as import or export or both.

Create a Workflow container by doing the above.

For creating the Container for the MailStep, create a container in the Task that you are assigning to the Workflow.

Then, bind both the containers.

regards,

Sonal

Read only

Former Member
0 Likes
745

Hi,

Please check the checkbox for the import and export parameter of the container element.

Read only

0 Likes
745

Thanks Sonal and Chidanand for your helpful answers, I have rewarded points.

AA