Uipath Level 3 Assignment 1

After executing the program everything is working fine,except the SHA1 Online Hash Part of the program.
It need to take the Client ID-Client Name-Client Country , but it taking as →
**

**

1 Like

Fine no worries
may i know how we are fetching the value of these three values

May be we can use this thread and example available to fetch the value of those three values

Cheers @Shahbaz670

i’ll let you know about it @Palaniyappan
thanks @balkishan

1 Like

Sure, thats great

Cheers @Shahbaz670

the Values are being fetched as
for example if need to fetch the CLient ID :
ClientInfo.Substring(ClientInfo.IndexOf(“Client ID:”)+ “Client ID:”.Length).Split(Environment,NewLine.ToCharArray)(0)

Fine
did these steps work from that post

Cheers @Shahbaz670

@Palaniyappan ok thank you, then i need to rearrange my all the vars & args if i follow you.!.
Anyway I’ll try & check it out.

@balkishan its not working , what should I do now ??

I m using this
ClientInfo.Substring(ClientInfo.IndexOf(“Client ID:”) +“Client ID:”.Length).Split(Environment.NewLine.ToCharArray)(0) . Its not showing me the result.
Now I’ll try yours. LEt me Check it.

1 Like

Sure
Cheers @Shahbaz670

@Palaniyappan :frowning: nope…!!!

1 Like

Try this have 3 assign activities after the get text activity which captures client information.

Assign ClientID=ClientInformation.Substring(ClientInformation.IndexOf("Client ID: ")+ "Client ID: ".Length).Split(Environment.NewLine.ToCharArray)(0)
Assign ClientCountry=ClientInformation.Substring(ClientInformation.IndexOf("Client Country: ") +"Client Country: ".Length).Split(Environment.NewLine.ToCharArray)(0)

Assign ClientName= ClientInformation.Substring(ClientInformation.IndexOf("Client Name: ") +"Client Name: ".Length).Split(Environment.NewLine.ToCharArray)(0)

1 Like

I’ll try this and let you know whether it works or not !!.

@Srimanigandan_V yes I am already using this code.
but too its not working . Error is same :frowning:

share me your project folder zip. I will take a look and comment.

the forum is not allowing me to upload the zip file as I m new user here . SORRY

can you print the value(write line) which is given as an input to hash and check if its showing the right values?

Actually this step should work
No worries
Make sure that we have used GET TEXT air SCREEN SCRAPPING method to extract the text from that region and that variable would be Clientinfo
The these steps would work for sure buddy
Kindly try this and let know for any queries of clarification
And make sure that we have select all three client details together with GET TEXT or SCREEN SCRAPPING

Cheers @Shahbaz670

1 Like

after using the writeLine activity its printing the thing like
doesn’t exist-doesn’t exist-doesn’t exist
instead of printing the right one
Client ID-Client Name-Client Country

Try this assign activites:

Client_ID=mid(left(Client,instr(Client,“Client Name:”)-3),instr(left(Client,instr(Client,“Client Name:”)-3),"Client ID: ")+len("Client ID: "))
Client_Name=mid(left(Client,instr(Client,“Client Country:”)-3),instr(left(Client,instr(Client,“Client Country:”)-3),"Client Name: ")+len("Client Name: "))
Client_Country=mid(Client,instr(Client,"Client Country: ")+len("Client Country: "))

It may be a little more complicated, but it does work.

1 Like