07-04-20 02:09 PM
We have a process that enters A bank account Name into an SAP System.
At times these Names may contain Parentheses as Customers are creating these names. ex "Bob's (Vacation) Checking"
When we enter the data as we find it via "Global Send Keys" Action in a Navigation block. We re get the following error "Group delimiters are not balanced"
To try and account for this we added a calculation action before to adjust the contents of the Text variable to replace any occurrence of the ( or ) with {(} and {)}
Replace(Replace([Bank Account Name],"(","{(}"),")","{)}") and store it in the Text variable [Bank Account Name]
Once we do this action we get
"Special characters (~{}+^%) are not supported in SendKeys if an interval value is provided. Separate calls can be used to send control characters."
The SAP System will accept the Parentheses in the field if entered manually. This is only an issue in Blue Prism and the Global Send Keys.
07-04-20 02:46 PM
Hi Jessie,
Instead of sending the Account Name using send keys, did you try using paste from clipboard functionality?
In other words, you can use Copy clipboard in Environment utility and set the account Name in clipboard. After that you can use global send keys to reach to the text box where you want to write the Account Name and then use "^v" (Ctrl+V) to paste the account Name. In this way, there won't be any limitation of using global send keys in your process without involving any much code changes.
Please let me know if the solution didn't work for you.
08-04-20 08:16 AM