Open the Main workflow and expand the Init state by double clicking it.
o On the Entry region, locate where the KillAllProcesses workflow is invoked.
o Add a new sequence after the Invoke KillAllProcesses activity to read the input transactions data table.
o Inside this sequence, invoke four of the previously created workflows, as follows: System1 Login System1 Navigate to Work Item System1 Extract Work Item Data Table System1 Close
And now I got a question. I have already invoked the System1 Login in the InitApplications file. But this invoke is placed after the sequence “if first run”. The KillAllProcesses activity is also placed inside the sequence. So where exactly should I place the files to Navigate to Work Items and Extract Work Item Data Table?
Logically it seems it should be placed after the InitApplications because this is the first time we open the browser and the pages
@phyogananda Yes but this is wrong as InitAllApplications contains invokes “System1 Login” and “SHA1OnlineOpen”. What’s the point of invoking it again then?
Could you please also tell me what type does the WIs variable have? This is the variable where you assign the datatable.Select(). It must be DataRow, isn’t it?
@phyogananda, I remained it that the InitAllApplications file contains log in to both websites and then I added navigate to work items and extract data afterwards. So I didn’t put it after KillAllProcesses, it is simply wrong.
Hey @phyogananda, actually as per PDD document, Navigate to Work Items and all other workflows except close System1 and SHA1Online should be invoked in Process.xaml… This is what I did and its worked perfectly. Also InitAllApplication and Close System1 should be disable in Init State in Main.xaml.
I have completed the workflow, but I am facing an error like Transactionitem cannot be null.
it works good till data scrapping, but after that it will go to gettransaction data workflow, form there it will throw error message and execution will stop.
Hey @phyogananda, I corrected most of your workflows so the error is gone, but you need to correct ‘extract client details’ workflow. It seems ClientID, ClientName and ClientCountry are not getting set so correct it first and pass it to SHA1 Online as input value to get Hash result. Attache is the updated file.
Hi @NavneetPanpaliya it seems that I have a problem similar. Indeed, when I run my workflow I receive at the end the message as in attach screen below.
I’m blocking since 3 days, but I tried a lot of solution, unsuccessfully.
Do you know how I can resolve this problem. I attached in addition screens of my “Extract WI Data Table” and “GetTransactionData” workflows. According to the Debug mode the problem is in my “If” statement in “GetTransactionData”.