How to add wait within workflow of Kofax RPA Desktop Automation? - sap

Sometimes Kofax RPA Design Studio can't fill up data correctly on SAP application. Like I have Input from excel "abcd". Robot can put "abc". Here "d" is missing. Most of the time it occur for last character. I think wait step can solve this problem. But don't know how to add wait within workflow of DA.
Screenshot added for more clearance.
Here String was "G030". But Kofax RPA can't add the last character.
If you know solution about this issue, please share. and please share how to add
wait step within workflow?

To answer your question regarding waiting: use a guarded choice and set it to "When seconds have passed":
.
Regarding missing characters - I saw this a lot when working with SAP. The way I solved it was - instead of using "Enter Text in Field", I would use the clipboard and then paste it into the field. Use "Device Input Steps" > "Set Clipboard" to set the text in question, and then simply perform a "Paste in Field".

Related

Problem when trying to read EXCEL after implementing OFFICE 365 "Confidentiality Label"

I have an ETL routine in PENTAHO and I'm migrating to APACHE HOP.
But I came across a situation, the HOP step/plugin "Microsoft Excel Input" cannot read the data before I open the excel file and click confirm Add Confidentiality Label.
In PENTAHO PDI this problem does not occur, does anyone have any tips?
IMG 1
After clicking and adding a confidentiality label like "public" for example and saving and closing the file, the process works perfectly.
Note: This only happens with some files.
This sounds like a problem that will not have a clear and direct answer and will require some changes in the code.
The code for Apache Hop is managed on Github.
You can create an issue there and one of the developers will help you get this sorted out. When creating a ticket please be as specific as you can be and add a sample, that will improve the chances of getting a fix on short notice.

Bigquery transfer - Change date issue

I am trying to edit a transfer from Google Play data, and it keeps asking me to enter a future date, regardless of how much in the future I am trying to add it.
Anyone knows any way to overcome this issue?
From comments on the question, this is a known bug and possible workarounds are:
Create a transfer configuration from CLI/API instead of UI (preferred)
After selecting "Start date and run time" - switch back in "Scheduling Options" to "Start now" and then switch back to "Start at set time". Ignore "Start date and run time" error and proceed with creating transfer config --> Which I used and worked perfectly

VBA code rushing on debugg mode while interacting with SAP

I'm having some issues with my code that I wasn't able to find anywhere.
Issue: While debugging my code, running it line by line with F8 in Excel, at some specific points excel does not wait for the application with which it's interacting to finish and proceeds to execute the rest of the code.
What is the macro: It's an a macro to automatically input information on SAP, in this case VA02. I do belive that this question is more VBA related than SAP related thus I'm posting here and not on SCN.
Where the problem occurs: The issue only happens when I'm changing the partners numbers in the Partner tab(either header or line item level). I've also saw this happens whenever I was trying to add something on the Conditions tab.
What error does it cause?: None, that's the odd part. While debugging, after I execute the line to change the Bill to Party for example ( Only change the number, no Enter or any other key is send) the code keeps running and execute the next lines. The even more off thing is that SAP seems to still be processing some of the changes but the VBA code keeps running without errors, meaning that SAP is not on the screen its showing.
So, if there's no errors what you want?: Well, while in regullar run mode it work flawleslly, this issue really makes it very hard to debug, forcing me to put a breakpoint in every... single...code...line...
What have you tried?: I've looked into Async and forced sync, no avail. Also looked in something related to Background Refresh but I guess that's only for query connections, I tried it with SAP GUI connection but also didn't worked.
Hope anyone can shed some light on this subject, maybe saw this previously. I will try to test on a peers computes but didn't had the chance yet, will post my findings after.
Thank you for reading and maybe replying =)
This is just a pice of the code as it's huge, I've noticed the problem is different parts, always the part that's inputing info on SAP. My peer write similar codes, that do the same thing on the same fields and he never got this erro so I think it might be related to excel somehow
'Bill site
Connection.findById("ses[" & Sesn & "]/wnd[0]/usr/" & ref & "/subSUBSCREEN_PARTNER_OVERVIEW:SAPLV09C:1000/tblSAPLV09CGV_TC_PARTNER_OVERVIEW/ctxtGVS_TC_DATA-REC-PARTNER[1,1]").Text = Dwks.Cells(2, "N")
For this program the erro usually start on this line, but on other ones i've seen it start on different ones. There's nothing special about this code line, i've used it many times. What comes before it is also pretty standard, just the SAP connection. I'm avoiding post the code here because I'm sure that this is not the cause of the problem, is the same sintax i've always used, with the same elements. This is something excel related.

Code for macro to input data from excel to a website and copy the output back into the excel

I am not a coder. Hence i seek help of all the amazing people out here to provide a code .
I want to automate the below steps using macro :
Step 1 : I have a list of street address, zip and city in an excel file. Copy and paste the list in the website : https://smartystreets.com.
Step 2: Click on the process list button
Step 3: Copy the output from the website
Step 4: Paste the output in the excel file
It would be great if someone could help me out with this, as my manager requires it by tomorrow.
Thanks in advance,
Kavya
I recommend checking out iMacro. It's web browser automation extension available on all major browsers (I recommend Google Chrome). As you mentioned you have very little experience coding, you will find recording iMacros to be your best bet.
You may also want to consider editing your post, as the wording will inevitably cause it to get downvoted into oblivion.

Lotus Domino designer adding agent

I create agent which replace field "NAME" text to "text is replaced". This agent is run in "Profile" form.
I write this agent with simple action.
My question is how to add this agent to form action bar ?
It usually is no good idea to use simple action agents. The code is clearer and better readable, if you use formula- agents instead. If you are not able to write a formula agent, then: Stop working with the designer as you might mess up everything and cannot repair it.
The formula for setting a field in a document (or all selected documents, depends on the target of the agent) is:
FIELD NAME := "text is replaced"
This agent will replace the item with name "NAME" in all selected documents with "text is replaced"
To call the agent from a view action or a form action or from wherever, you again need Formula (as stated in the comment by Knut):
#Command([RunAgent]; "agentName")
Knowing the formula language is the minimum you need to know as a IBM Notes / Domino Developer.
You can use many object handling using Lotus Script. So, I suggest using LS instead of Formula or simple action especially when you're making complicated functions or building huge application.