UiPath Advance Assignment 1

Hi all, I have problems to complete my assignment 1. Its been a month now, I don’t know what to do. I was thinking on starting the assignment all over again.

Hi @Nur_Aliaa_Syaza ,

Please elaborate what you’re trying to do? From screenshot, I guess you are not able to get transaction item.

yes, I have been stuck at the GetTransactionData

Hi @Nur_Aliaa_Syaza ,

Assuming io_TransactionData = dt_workItems.

  1. Your if condition seems wrong.
    It should be :
    If in_TransactionNumber <= io_TransactionData.Rows.Count

  2. You are not assigning value to out_TransactionItem in Then.
    Assign value like :
    out_TransactionItem = io_TransactionData(in_TransactionNumber)

Reference screenshot :

Hope this resolves your issue. :smiley:

1 Like

Thank you… my assignment already shows the completed output but it still giving 0 points. Can you help me on this?

Hi @Nur_Aliaa_Syaza ,

Check this thread :

https://forum.uipath.com/t/calculate-client-security-hash-assignment-re-submission/311319

1 Like

ClientInformation.Substring(ClientInformation.IndexOf("Client ID: ")+ "Client ID: ".Length).Split(Environment.NewLine.ToCharArray)(0).Trim
ClientInformation.Substring(ClientInformation.IndexOf("Client Name: ")+ "Client Name: ".Length).Split(Environment.NewLine.ToCharArray)(0).Trim
ClientInformation.Substring(ClientInformation.IndexOf("Client Country: ")+ "Client Country: ".Length).Split(Environment.NewLine.ToCharArray)(0).Trim

is it true? I just simply put Trim, but I still to get the same marks