29-07-21 04:33 PM
30-07-21 12:57 AM
Hi Marwa,
I believe you can separate the components using () and [] in regex and use [0-9] for a single digit number instead.
Please try using this instead and confirm if this works:
^(\/app\/con\[0\]\/ses\[0\]\/wnd\[0\]\/usr\/subSUB0:SAPLMEGUI:001)[0-9](\/subSUB1:SAPLMEVIEWS:1100\/subSUB2:SAPLMEVIEWS:1200\/subSUB1:SAPLMEGUI:1102\/tabsHEADER_DETAIL\/tabpTABHDT3)$
Another alternate method would be to store the below value to a data item and change the number as per screen/logic. Would need to set the Attribute ID as type Dynamic.
/app/con[0]/ses[0]/wnd[0]/usr/subSUB0:SAPLMEGUI:0013/subSUB1:SAPLMEVIEWS:1100/subSUB2:SAPLMEVIEWS:1200/subSUB1:SAPLMEGUI:1102/tabsHEADER_DETAIL/tabpTABHDT3
Please let me know if this answer was helpful.
Thanks
01-08-21 02:09 PM
01-08-21 10:01 PM
Hi Marwa,
Could you please share a screenshot of your app modeller with Element and regex value. (Eg below)
Thanks
Avinash
03-09-21 12:00 PM