Condition step

Dear Friend,
How to check whether a variable is initial or not in condition step type.
Thanks & Regards,
Arti

Usually the Not exist option also works. But why didn't you just try some things? It is not that hard to make a simple workflow with a condition and try out some option in the condition. I even think you would have had your answer sooner and also it would teach you something about the options you have in the condition.
Regards,
Martin

Similar Messages

  • Condition in condition step type always fails

    Hello all !
            I've a condition step type in workflow.
            The condition is as follows :
                           &ZBUS2011.REQ_TYPE& = 0001 AND &PLANT& = X
            The containers in  workflow log is populated with required values. However, the above condition fails for no reason.
            More over, on clicking "Evaluation condition with test data" button in condition display window,  a pop-up message " The evaluation of the condition gives the result 'False' "appears.
            Whether this could be the cause ? How to make the result 'True' ?
            Any suggestion most welcome.
    Regards,
    S.Suresh.    

    Hi Suresh,
    Is your attribute ZBUS2011.REQ_TYPE a vitrual attribute ? If so please check if the attribute is getting re-calculated during runtime. You can check this by instantiating the BOR and check initial value and then click on refresh button and see if the value has changed.
    Thanks,
    Ajay Bose

  • Conditional step in interface determination

    Hi All,
    The Scenario is a proxy to file server..
    we are sending datas to different service based on File Content Conversion..
    Depending on the data on a certain field the records are delivered to different location.adapter we use is a file adapter.
    For this we need to give the conditional step in interface determination..
    the sender is a message system and the receiver is a business service.
    The issue here is when i try to give the condition in interface determination the error below appears.
    "<b>Message interface does not exist in any software components installed on this business system</b>"
    due to this we are not able to get the structure of the specified message type in the condition editor...
    What can be done here to give the conditions in the condition step?

    Hey
    The error occurs if the GUID of the software component at the SLD is different to the one at the repository. Please compare the GUID at the SLD -> Administration -> Content Maintenance -> Dropdown "Component Version" -> Dropdown "Software Component Version". At the Integration Repository you select the Software Component Version at at the tab "Keys" you find the related GUID.
    The error occured because the Software component has been created manually at the system. The repository content came from another system via import with own SLD (and because of that with another GUID for the software component).
    source:https://forums.sdn.sap.com/click.jspa?searchID=3574640&messageID=945384
    Thanx
    Ahmad

  • Assign values in condition step

    Hi Friends..
    iam creating container attribute refering standard structures..
    and use that attributes in conditional step...
    whenever iam executing the workflow it shows an warning message like this.
    "container element is read purpose only.no values are assigned to it"
    at the execution time this step was not working.. so what is the actual problem.. how can ihandle this
    Thanks
    Gowrishankar

    I think You are creating attribute in Business Object. If you are doing so then create another container element in the Wflow and do a container operation of assigning the Attribute to this elelement. Please note that the Element type should match. I hope it is not a Multiliner. Use the container element which has been assigned the Attribute value in the Condition Step.
    <b>Reward points if useful</b>

  • About case and switch in multiple condition step in workflow.

    i ve some information about case and switch in multiple condition in workflow.
    case - static determination
    switch - runtime determination.
    but i want brief explanation about case and switch and difference please help me.....

    hi velmurugan............
        in case,
               we can have only one value for comparison and can have any number of branches for it.
       in switch,
               we can compare any number of values and have any number of branches.
    eg:
         consider i am triggering a workflow for purchase order change and i am having a multiple condition step.
    if i am going for a case:
            i can have only on value (ie po number/vendor number.....) as a parameter and can check different values with it. ( eg vendor number < 1000
                                                                 vendor number > 1000.... so on)
            a branch will be created for each condition.
    if i am going for a switch:
            i can take any parameter needed. (eg: vendor number > 1000
                                                                    order type = 'NB' .... so on)
             so a single branch can have any number of comparisons with the help of 'and' and 'or' operators and i can have any parameter for my condition.
    ---regards,
       alex b justin

  • Workflow Condition Step Failing

    Hi All,
    I am facing a very peculiar error.
    I have two outcomes modelled  depending on a varible (Material Type) in the worklfow.
    My workflow gets triggered when I push SUBMIT button on my ADOBE interactive form on ABAP Web Dynpro launcehd
    from UWL. Now if i check the workflow container, the variable is set properly. But still the condition fails. A backgorund task
    having import parameters as Owrkflow container elements fails with an exception even though the import parameters are set.
    But yes, again the workflow container same elements can be displayed on any form in further steps by reading the container
    from ABAP webDynpro launched from UWL. Peculiar !!!
    The same workflow works fine if I directly set the variables and test the workflow.
    Why this ?..... Any Idea.... ? If something is written on to the workflow container can the workflow work on those variables ?
    Please suggest.
    Thanks & Regards,
    Deb

    Hi Rick,
    Thanks for your suggestions. Actually we could solve it ina different way. It was a nice but tricky error in muy coding.
    Here is what I was doing:
    1)  I tirgger my workflow on click of 'SUBMIT' button on my ADOBE interactive in AWD
    2) Then I get the instance of the workflow to get the Workflow Work Item ID
    3) Now I write the form data to the workflow container.
    Note: By the time I write to my container, my workflow had been already triggered, with the condition step at the 1st.
             And the container is not yet written, hence the condition fails.
    Solution:  I used a wait step. And Read the workflow container in loop untill the container elements are populated.
                   Once out of this loop, I now tirgger the write to the container and raise the wait event.
    Cheers !!
    Deb

  • Multi Condition step

    Hi,
    I am changing the approval custom worflow.
    In my workflw intial two step are  MULTI CONDITION for  plant   and  condition types.
    previously we have used different approval procedure for different plant.
    now all plants are having the same procediure.
    so i am planning to remove the first MULTI CONDITION  step.
    when I removed that step  workitem is not creating and workflow error.
    binding problem error showing in one of the step  in container.
    pl help.
    other wise  it it possible to use the same procedure fordifferent plant with out creating new steps.
    Thans in advance
    sharma
    Edited by: sharma on Sep 10, 2009 5:43 AM

    Hi Sharma,
    I have noticed with my workflows that often when you add or delete a task in a workflow, the bindings of other steps are also affected.
    In your case, the binding of some other step could have got disturbed because of deletion of the multi condition step.
    I would suggest you to create a new version of the workflow and compare your workflow after deletion of the step with the previous version. Check the bindings at each step.
    Hope this helps!
    Regards,
    Saumya

  • OBI Column selector and Condition step

    In OBI 11.1.1.6.2 I have an analysis which contains a column selector, a pivot table and a regular table. The pivot table uses the fields of the column selector.
    In this configuration it is not possible to add a condition step to the regular table. Only when removing the column selector view it is possible to add a condition step.
    I know that it is possible to create a dashboard that uses two analysis: one pivot table with the column selector and one regular table with the condition step. But this is not what I want.
    I am not sure if this is a works as designed thing, or that it is a bug. If it's works as designed, than I would have expected a message that it is not allowed to add a condition step when a column selector is present.
    Does anybody have experience with this?
    Thanks,
    Bas
    Edited by: 981938 on Jan 15, 2013 3:03 AM

    This is functional question, Any SD consultant can help you out . Well I recommend you to post it on some SAP SD forum!! Rather then waiting over here .
    Thanks
    Saquib

  • Regarding failuare of conditions step in Workflow.

    Hi,
    My workflow activity step calls webdynprofunction module.After screen is approved control goes back to workflow and condition statement immediatly below activity step get executed.However this condition always fails ie even after approving and getting approve value in container, reject branch of condition gets always executed. can anybody provide me solution?
    Thanks & Regards.

    Hi Sanjay,
    Many have come across this situation earlier and couldn't really find out why this happens.
    I would suggest that you delete the condition step and recreate it. Also clear the buffer using SWU_OBUF and see if it helps.
    This is what i did when i faced this issue and helped.
    All the best.
    Regards,
    Raj

  • Condition step expression comparison

    Hi all,
    I want use a condition step to check acondition like lv_expression1 = lv_expression2.
    but i am not able to use variable in expression2, it's accepting as constants.
    How to compare two variables in workflow?
    Thanks.

    It should be possible in the condition editor. First double click the first container element. Then set for example '='. Now double click another container element (don't put anything into the constant field). => You have comparison between two container elements.
    Regards,
    Karri
    Edited by: Karri Kemppi on Dec 13, 2011 5:07 AM

  • Condition step : currency field = constant ?

    Hi All,
    I am stuck with a silly thing while making my WF , Pls help me out.
    I am designing WF for parking invoice (tcode- FV60),there I need to give following condition:
    If Invoice Amount > 2500 USD then mail is sent  to some particular approver otherwise some other approver.
    I have declared one variable 'Amount' in WF container with refrence to table- INVFO and field - WRBTR.(this is a currency field.)
    and in condition step in WF, I am giving a condition .i.e - 'Amount' > 2500
    But problem is :- condition editor shows 2500 as 2.500,00
    i hv tried to give 2500 as 2500.00 then too its shown as 2.500,00 .
    Pls advice how to go about it ??
    Rgds
    Priya

    Hi PS,
    Just test your WF through FV60 and see whether your condition is getting satisfied.
    Are you worried because instead of showing 2500, system is showing 2500,00 - if that is so thats fine, because settings in SAP are maintained that way.
    I mean, 2500 for SAP is 2500,00.
    Aditya
    P.S else, your way is correct on declaring the element in the condition editor.

  • WF error in : Condition step ??

    Hi All,
    My condition step is not working fine , Pls help me out.
    I am designing WF for parking invoice (tcode- FV60, BO -FIPP),there I need to give following condition:
    If Invoice Amount > 2500 USD then mail is sent to some particular approver otherwise some other approver.
    I have declared one variable 'Amount' in WF container with refrence to table- INVFO and field - WRBTR.(this is a currency field.)
    and in condition step in WF, I am giving a condition .i.e - 'Amount' > 2500
    After activating WF and while testing it ,WF gives "status : Error "
    I hv seen in WF log , Process has stopped in condition step.
    Is there something missed or wrong in condition step ?
    I doubt  - if my way of declaring element 'Amount' in WF container is ok ?
                 Do I need to add this field as an attribute in the Bus Obj n then take it     in  condition editor.
    Pls advice how to go about it ??
    Best Rgds
    Priya

    Hi Shweta/ Addy,
    This element is not there in BO, I hv defined this element 'Amount' in WF container.I have not used this element in binding as condition step doesn't provide us the option for binding . In my scenario:
    1) Document is parked (FIPP - created), In FV60 invoice amount is filled.
    2)condition : 'Amount' > 2500.
    3)Condition true - go to approver1 (agent determination through Rule)
       Condition false - go to approver2 (agent determination through Rule)
    Pls let me know if binding is required in some step ?
    or do I need to add 'amount' in attributes in BO ?
    n In my graphical WF log, process has stopped in condition step.I think,we don't have any options to specify agent in the condition step.
    Pls advice, n help me to proceed further ..
    Best Regards
    Priya

  • Issue with Condition step in workflow

    Hi Guys,
    I am using a condition step to check the value of a variable A. If the value of A is 7 , then the wf will follow the true branch. If not it will go down the false branch. This is as simple as that. But the wf was going down the wrong path when i tried to test it. Meaning even if the value of A is 7, it was going down the false branch.
    So i simulated that condition in the editor and manually entered a value of 7 for A and still it is going down the false branch.
    I havent seen this issue before. Have any of you? I ahve tried clearing buffer, creating new version of the wf. But nothing has worked. I even tried to reverse the condition check. Like i tried to give IF A not equal to 7. Still its going down the worng branch.
    Any ideas? The variable if declared of the type SYST-PEXPI. And the funny part is this wf is working fine in production.
    Harish

    Hi Harish,
    Sometimes it happens that the value of the variable is not yet populated when the workflow is at the COndition step. Hence it always follow the same path irrespective of the actual value that needs to come.
    Please check if the container element you are checking is having the correct value when at the COndition step. Else you can try adding a wait for few seconds step before the condition step and then test.
    I guess the performance of the Production system is better than the dev or quality system so you are not facing the issue there.
    Regards,
    Saumya

  • Using an If-Else type condition in condition step

    Hi Gurus,
    I am requried to use an If - Else kind of condition before branching out.
    I tried using the condition step and parantheses but am not able to figure out how to go about it.
    IF you have used a simlar condition before,kindly share with me how I can achieve it.
    My requirement is :
    IF x = '123' or '456'.
    do your work
    elseif.
    x = '111' or '222'.
    do your work(2)
    endif.
    Thanks and Regards,
    Ameya Kulkarni

    Hi,
      There must be 4 element x1, x2, x3, x4
      At first select Multiple condition step.
    Then in condition Tab select type as Switch.
    Then click on the Condition of 1st line.
    There a new window open. There click on expression select x1 , click on operator select = ,  click on expression 2 ,  write 123 ,  click on AND/OR, select OR , Then  click again on expression select x2 , click on operator select = ,  click on expression 2 ,  write 456 . 
    Then click on the Condition of 2nd line.
    There a new window open. There click on expression select x3 , click on operator select = ,  click on expression 2 ,  write 111 ,  click on AND/OR, select OR , Then  click again on expression select x4 , click on operator select = ,  click on expression 2 ,  write 222 .
    In this way you can do this.

  • Condition step issue in a workflow

    Hi Gurus,
    I have a condition in my workflow which checks for an attribute value of he business object if its equal to 'X' based on which it takes two different paths for 'yes' or 'no'. I find it always takes the 'no' path irrespective of what is the value of the attribute whether 'X' or space. I have done this kind of steps many times in the past and never had an issue like this.
    I check the attribute value gets populated well in the container.
    Has anybody faced this ind of issue, great if some body can tell if I am missing on any thing. I am on ECC6.0
    Any help will be highly appreciated.
    Thanks
    Sasi

    Hi,
    say your attribute as 'flag'
    and you are trying to check  flag = X   yes then do something,
    for No do something else
    check whether flag is populated correct and bindings are done correctly.
    Kind Regards
    Hari Sankar M

Maybe you are looking for

  • Boot-camp assistant won't recognize my DVD-RW

    So I have put a DVD-RW on so it could burn the Windows 7 to my DVD. I've seen a lot of answers to this question but it doesn't quite work. I've a iMac 21' and tried to do this quite many times. What I do is I put the DVD in, start installing and then

  • Is There A Simple Text Editor/Composter & Line Art Plug-In Available

    Yes, I know it has been addressed in other posts in the past but I wanted to know if any new tools are available since the update to 3.XX, outside of open a picture in a "Book" project and adding text in a border or downloading BorderFX, neither of w

  • Wrong condition base value

    HI Thre is a tax code with combination ED-DE, AED-4%, VAT 12.5%-DE ED IS DEDUCTABLE Additional excise duty is 4% & vat % is 12.5% the problem is for eg: the toatal  after excise 26,346.52 Vat 12.5 % is calculated correctly but the system show wrong c

  • Updates asks me to restart, but when it restarts, the same update is still there

    When I go to my app store, it says an update is required for OS10.8.4, I clicked update and said a restart was required. I restarted it and the same update is still shown in my app store update. whenever I click on update, it immediately says to rest

  • Adding usb port on ultra10 running solaris 8?

    Will any PCI based USB card work on an ultra 10?. If so can anyone provide details?. Thanks, Mts