cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow starting condition

Former Member
0 Kudos

Hi All,

I want to give starting condition as PRODUCT_TYPE = '02'.

but i am not able to find out that field in container. So how can i include this field in my start condition.

Your suggestions will be awarded.

Regards,

Azad.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Azad,

Please check whether the business object that you are using has the attribute for product type. If the attribute is present in the business object, then you can view the same in the workflow container as well. Just take care of the binding that is to be done in the triggering events.

If the attribute is not present, then there are two ways that you can create it.

1. create a subtype of the business object and then create an attribute for the product type. you can view it now in the workflow container.

2. create an event parameter in the business object for the particular event that you are using. Once you populate it and pass it through the event container, you can have it as an element in the workflow container. Then create a start condition for the same element.

Hope this will help.

Regards,

Sam

Former Member
0 Kudos

Hi Sam,

Thanks for your response.

I have tried both options. For first options which is about creation of subtype, for that i have to populate all fields .

In which one of field we have to assign one program?

So which program i have to assign,

Your suggestions will be appreciated...

Regards,

Shiv.

Former Member
0 Kudos

Hello Azad,

The procedure to create a subtype is as follows:

The fields to be filled are

Object type, Object name : Name of the subtype you want to create

Name and Description can be some description that you want to describe.

The program is the name of the program in which the implementation of the business object is done. you can give any name to the program and it will be created. So you don't have to worry about the program. Just give the name of the subtype and proceed.

Hope this will help.

Regards,

Sam

Answers (3)

Answers (3)

former_member184495
Active Contributor
0 Kudos

Hi Azad,

if there are no containers in ur BOR for Product type,

try creating a Check Function Module for that container.

Hope it helps.

Aditya

Former Member
0 Kudos

Please check whether there is any Workflow container element relevant to your Product type. If yes please check whether it is getting populated from the event container. If the container element is not there you need to create a Virtual attribute of the business object used in Wflow and code accordingly. This attribute will be available with the EVT_OBJECT and you can use it to create a Start condition through SWB_COND.

Thanks

Arghadip

Former Member
0 Kudos

Hi Azad,

Well can you please check some of the conditions once again, though you must have already done this before. Please check whether The container element is marked as Import and export in the Properties tab of the container element.

If Yes, then please reactivate the workflow again and then try to find out the container element.

I think you should be able to see and use the workflow container element.

Warm Regards.

Abhijit.