Community Chat

last person joined: yesterday 

A space for discussion around the Community site and programs.

  • 1.  Dynamic Attributes in SAP

    Posted 10-26-2021 14:07
    Hi All,

    I am trying to pass dynamic attribute in an element.
    Element ID is  :      /app/con[0]/ses[0]/wnd[1]/usr/sub:SAPLV14A:0100/radRV130-SELKZ[0,0]

    Now the problem is I am trying to make dynamic this ID and value of Red colored 0 should be taken from the Data item like this:
    Dynamic ID /app/con[0]/ses[0]/wnd[1]/usr/sub:SAPLV14A:0100/radRV130-SELKZ[[DataItemValue],0]

    Getting below error message while using this
    The following error has occurred:
    Your expression does not appear to be valid:
    Data items must be between [ and ]. Text must be between " and ". Functions should be in the form FunctionName()

    Can anyone help me how I can pass the data item value.

    TIA.

    Regarda,
    Bhawna

    ------------------------------
    Bhawana Daultani
    ------------------------------


  • 2.  RE: Dynamic Attributes in SAP

    Posted 10-26-2021 14:44
    Is this in the code stage, or Wait condition?
    Could you provide more information? Like prints for example?
    Try it:
    Assemble the expression inside the calculation concatenated with the value you want and store it in a variable, then add the variable inside the dynamic wait/navigate, thus, I believe it is not possible to put the expression directly in the application moduller

    Dynamic ID /app/con[0]/ses[0]/wnd[1]/usr/sub:SAPLV14A:0100/radRV130-SELKZ[&[DataItemValue]&,0]

    ------------------------------
    Emerson Ferreira
    Sr Business Analyst
    Avanade Brasil
    Recife
    +5581988869544
    If my answer helped you? Mark as useful!
    ------------------------------


  • 3.  RE: Dynamic Attributes in SAP

    Posted 10-26-2021 15:21
    So I have captured the element in Objects and ID was there as attribute properties. Now  while writing action I am using the same element to write with dynamic match type.

    Already tried with concatenated Logic but still same issue.

    attaching screenshot for your reference.

    1) This is the element.
    2)  This is where I am setting the dynamic value 




    ------------------------------
    Bhawana Daultani
    ------------------------------



  • 4.  RE: Dynamic Attributes in SAP
    Best Answer

    Posted 10-26-2021 15:23
    Perfect!! Try it then:
    Dynamic "ID /app/con[0]/ses[0]/wnd[1]/usr/sub:SAPLV14A:0100/radRV130-SELKZ["&[DataItemValue]&",0]&"

    ------------------------------
    Emerson Ferreira
    Sr Business Analyst
    Avanade Brasil
    Recife
    +5581988869544
    If my answer helped you? Mark as useful!
    ------------------------------



  • 5.  RE: Dynamic Attributes in SAP

    Posted 10-26-2021 15:29
    It worked.

    Thank you for your help.

    ------------------------------
    Bhawana Daultani
    ------------------------------



  • 6.  RE: Dynamic Attributes in SAP

    Posted 10-26-2021 15:30
    Glad to be able to help you!

    ------------------------------
    Emerson Ferreira
    Sr Business Analyst
    Avanade Brasil
    Recife
    +5581988869544
    If my answer helped you? Mark as useful!
    ------------------------------



Welcome to Community Chat!

A space for non-technical chat, tips for using the Community, and news from the Blue Prism Community Team.

This is not a Community for technical or Product related discussion. For a list of available communities, please visit our site map.

Introduce YourselfCommunity Quick TipsWomen in RPA