Skip to Content
avatar image
Former Member

when does the expression fulfill the criteria

Dear Experts,

always when I am creating a SC it choses directly the Workflow "without approval" WS10000060.

In order to understand it basically. .There can be maintained some start conditions

through T-Code SWB_COND. I saw within this transaction you can make a lot of settings. If you activate any start condition the

light is getting the color green.

In our case for WS90100002

Start condition  Workflow-Start WS90100002    
Business Object EC Requirement Coverage Request 
Event Shopping cart created 

Expression:->    &EC Requirement Coverage Request.STARTWORKFLOW&  = BUDGET+KR

My question will be now. What means BUDGET+KR in this case. When does this expression fulfill the criteria

of being BUDGET and KR so the workflow can start ??

Regards

Marco

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 09, 2010 at 02:59 AM

    Hi,

    WS90100002 is custom workflow template developed in your project.

    STARTWORKFLOW is also custom attribute defined in your project.

    The expression says if STARTWORKFLOW attribute of SC has value BUDGET+KR, the custom workflow template WS90100002 will be started.

    For finding BUDGET+KR means, please go to SWO1 transaction and display the Business Object ZBUS2121 or BUS2121. You see some custom attribute for STARTWORKFLOW. Select program button for finding the logic how to fill the value.

    Regards,

    Masa

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Masa thank you for your help.

      Yes indeed there is a ZBUS2121 with parameter STARTWORKFLOW.

      Two more questions.

      1) Where does the assignment take place while Workflow's runtime with choosing ZBUS2121 instead of BUS2121?

      2) Can I debug this ZBUS2121 while creating a shopping card ?

      Regards

      Marco