cancel
Showing results for 
Search instead for 
Did you mean: 

multiline containers ?

Former Member
0 Kudos

hi all

i am creating a multiline container in a workflow but it is not showing any value .

what steps i have done so far are:

i created a BO in SWO1. there i have created a method and in that written the code to get and set parameters.in have used multiline import export parametrs here .

now i have created an activity task in the workflow and did the necessary binding similar to normal containers.

I haven't used the miscellaneous tab in the task.

on pressing F8 it doesnot show any data in the internal table multiline containers .

please help.

regards

vaibhav

Accepted Solutions (1)

Accepted Solutions (1)

narin_nandivada3
Active Contributor
0 Kudos

Hi Vaibhav,

  Just wanted to check, have you done a Test Run of the BO Method you had created in standalone mode (only the BO).

  If not  check by executing the BO method and check whether method is returning some values

  in Multi-line container element.

  If Yes then check the

Binding at BO Method --> Workflow Task in the Workflow Log

.

  If the above steps are all fine check the

Binding between Task --> Workflow.

  Ensure the

Same type of the Multi-line container is used across the Workflow to the BO Method

.

  Kindly Revert for any Clarifications.

Best Regards,

Narin Nandivada.

Former Member
0 Kudos

Hi Narin

i have done a test run in BO method and it is showing values in multiline containers after presseing f8.

I have declared containers of the same type as used in the method (generated automatic binding also and changing then to import export multiline in workflow ) .

it is still not showing any values

please help

regards

vaibhav

narin_nandivada3
Active Contributor
0 Kudos

Hi Vaibhav,

  Please clarify below points.

  1. After Importing from BO Method to Task and Task to Workflow Where are you using this Multi-line container Element? In what step?
  2. If you are using in Mail Step.. How are you using it?

  After Executing the Workflow::

     In Workflow Log where you haven't found the entries

    • Have you found the Entries at Workflow Task level?
    • Have you found the Entries at Workflow Container Level?

  Based on the reply for above points it would be easy to analyze/understand where would be the problem.

Best Regards,

Narin Nandivada.

former_member16044
Active Participant
0 Kudos

Vaibhav,

1.Check whether BO is instantiated in workflow container from SWI1.

2. Ensure the same container(type BO) is used in your task.

3. If the above steps are correct, then test the workflow and ensure the import parameters of the desired method are available at run time from SWI1.

4. In case there's no issue in step 3 and problem still persists re-generate the binding, synchrize the buffer(SWU_OBUF), log off and log on and you should get the values.

  But in case any issue in step 3, cross-check the step where import parameter of the desired method is set and analyze the logic, binding.

Hope it works!

Regards,

Rahul Kulkarni

Former Member
0 Kudos

HI NARIN

I am using it in email.

i have added these containers by clicking on add expression button.

on processing , there are no vlues in the wirkflow contianers.

i dont know how to check entries at task level , please tell.

reagrds

vaibhav

narin_nandivada3
Active Contributor
0 Kudos

Hi Vibhav,

you say:

there are no vlues in the wirkflow contianers.

Then I guess now we need to check the Task Container as there might be issue with binding.

i dont know how to check entries at task level , please tell.

  Please follow the below steps in the Workflow Log

  1. In the Workflow Log select the Table ICON or from Menu bar GoTo->List with Technical Details (Shift+F9)
  2. Here you will find the Tree view and in that select on Particular STEP where you are binding the Task Container to Workflow Container and below click on Container TAB where you will be able to find the entries in the task Container and you will also find the Multi-line element.
  3. If you select at the First level of the tree view you would be able to find the Workflow Container.

After the above steps if from STEP 2 if you dont find entries in Multiline Element then there is an issue of binding between BO Method --> Workflow Task.

Either Re-Do the Binding or Either Create a New Task and check.

Hope it helps.

Best Regards,

Narin Nandivada.

Former Member
0 Kudos

Hi Vaibhav,

         

                  Kindly check in parameters of container , multiline check box is ticked.

                  Check in method , task and Wokflow level contaner.

                   

Regards,

Aditya

Former Member
0 Kudos

Hi Narin

I just did the same thing again and it worked.

regards

vaibhav

narin_nandivada3
Active Contributor
0 Kudos

Good Vaibhav. So would you mind to write a conclusion where the mistake was so that it will help our workflow friends in future if required.

Best Regards,

Narin Nandivada.

Former Member
0 Kudos

Hi narin,

I just logged off and loggid in again and created containers again and also i deletd a few unused containers from my workflow .

regards

Vaibhav

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Vaibhav,

Always we will face this problem with the BOR Objects .

Please first check whether you are getting all the values in the BOR object table output.

If you are getting fine then check the binding task->method.

My suggestion is you can use classes in this scenarios.

Regards,

Ramya R

Former Member
0 Kudos

hi ramya

thanks for your valuable suggestions .i have recently learned to use classes in this scenario and it is very friendly.

regards

vaibhav

Former Member
0 Kudos

Vaibhav,

I think ur problem is with the binding...Make sure the name of the container in method and the task the same.

When u use multiline containers in mail step, u have to define a container element in the mail task as well and bind it from workflow task to the mail task...

Steps

1.Define a multiline container in the mail task(control tab in mail step->copy and edit) u can do it in pftc as well...

2. Binding(workflow container->mail container)

3.In the mail body click 'Insert Expression' and select the multiline container.

4.A pop up appears with 3 options. Choose one of the options( All lines with line break)

u get sth like --- &CONTAINER_NAME##&

This will help.

Don't forget to Define the container element in the mail task and bind it.

Former Member
0 Kudos

SWC_SET_ELEMENT.

SWC_SET_TABLE container 'NAME' name.

Check the binding

Still not working?

Post the code inside the method.

Best

B.

Former Member
0 Kudos

hi biju

i Have done the same as you mentioned .

regards

vaibhav

Former Member
0 Kudos

Hi Vaibhav,

Pls check the binding of task container. and once you execute you cannot find the values of container . To check that you have to check in the workflow log. select the particular task. and open the container tab . there you can find the values.

First execute your BOR Object and check whether it is filling the data or not.

Regards,

Ramya R