Skip to Content
author's profile photo Former Member
Former Member

Workflow starting condition

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 19, 2008 at 09:43 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on May 16, 2008 at 01:34 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 16, 2008 at 01:42 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 21, 2008 at 09:21 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.