Level 3 Assignment 1. It takes same hash code for same thing again and again

It takes same hash code for same thing again and again. How can I solve it. Thanks in advance.
problem1

2 Likes

Ay my first glance you are pasing index in the array that are exceed in the count of array.
Can you share more details like puting some screenshots where the error occured. @Hasna_Hoque_Mitu Thanks.

cheers :smiley:

Happy learning :smiley:

2 Likes

Thanks a lot for your response.
I actually don’t know where exactly the problem is! It is taking only the hash code of that thing which I used as sample in the project.

2 Likes

problem3

2 Likes

You can run in debug mode for you to see the error ! @Hasna_Hoque_Mitu

cheers :smiley:

Happy learning :smiley:

2 Likes

It’s showing that the problem is here.
problem4

2 Likes

@Hasna_Hoque_Mitu my guess is that there’s a problem with your WIID values, I think the workflow is only loading the 1st WI5 and not the rest.
Try debugging the workflow, you should see that after each transaction the WIID url changes.

3 Likes

@Hasna_Hoque_Mitu please use (in_TransactionNumber-1) and make sure that you’re using the correct argument names.

2 Likes

After seeing your solution, I used that.
problem8

2 Likes

And then this happened.

2 Likes

Also this

2 Likes

Try changing the values for Assign TransactionID to
out_TransactionID = out_TransactionItem

3 Likes

@Hasna_Hoque_Mitu my bad I didn’t notice that I placed the incomplete values
it should be:
out_TransactionID = out_TransactionItem(“WIID”).ToString

3 Likes

yes, I’ve already put out_TransactionID just like that

1 Like

Can you please upload you GetTransactionData xaml file?

2 Likes

I’m having the exact same issue as @Hasna_Hoque_Mitu - my xaml is attached.GetTransactionData.xaml (8.8 KB)

1 Like

Whenever I want to upload “Get Transaction Data.xaml” file it shows this.
:disappointed_relieved:
image

1 Like

May I have your email address so that I can send you the file?

1 Like

Hello @AceRenegade please try changing the value of your first assign activity in the outer if statement. Change it to:
out_TransactionItem = in_WorkItems(in_Transaction_number-1)

Also, what are you using the “out_workitemnumber” argument for?

1 Like

@Hasna_Hoque_Mitu try sending to

2 Likes