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

Problem with Switch Step in BPM

Hi,

I am using Switch Step in BPM, to check a condition. I created following condition (App_Resp./p1:App_Resp_MT/Response = true). The mentioned is correct and it should succeed but it is failing. Its going thru OTHERWISE branch. Can anybody help me to solve this out?

Thanks,

Yaseen.

Add comment
10|10000 characters needed characters exceeded

6 Answers

  • Posted on Mar 14, 2006 at 09:03 AM

    hi,

    >>>>App_Resp./p1:App_Resp_MT/Response = true

    does the value of the Reponse tag has 'true' value ?

    is the Response value multiline ?

    Regards,

    michal

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 14, 2006 at 09:22 AM

    There are two causes for this problem.

    1.Either it should be a multiline.

    2.or it might be due to the xpath expression.some times when u change the structure ..it doesnot get reloaded.so you gotto to manually choose and re-load.

    chk the xpath and name space wether xml z properly generated.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 14, 2006 at 09:24 AM

    Hi michal,

    Yes the the Response element has 'true' value and its not multiline.

    Thanks,

    Yaseen

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 14, 2006 at 09:57 AM

    HI,

    I checked in the workflow the xml file generated contains value 'true'.

    Its not multiline and looks xpath reflects for the changes made.

    I think it may be problem that needs to deploy any OSS notes.

    Please throw some idea.

    Thanks,

    Yaseen.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 14, 2006 at 11:34 AM

    Hi Yaseen

    Try giving like this

    App_Resp./p1:App_Resp_MT/Response = 1( '1' is of type string) in the SWITCH step and test. Are you getting the output?

    BTW in which SP are you?

    What is the type of the field Response?

    Regards

    Suraj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Check the message type you are using in switch step whether it has xml namespace tag. and also check the xml that you are sending at runtime is same as you are expecting. I think the problem lies in these steps.

      Thanks,

      Yaseen

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2006 at 12:08 PM

    Hi,

    I'm getting a similar problem where the Switch step in my BPM returns an empty container to my async Send Step. Before the Switch step the container does contain values (the message). We are running SP15, did upgrading to SP16 help? Have anybody solve this issue discussed here.

    Serv

    Add comment
    10|10000 characters needed characters exceeded