Advanced Training Error

Hi all,

I am working on the Advanced Training, Client Security Hash assignment and am receiving this error.

{
“message”: “If: Value cannot be null.\r\nParameter name: source”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “12:33:23”,
“processVersion”: “1.0.0.0”,
“jobId”: “9695eca1-7c5d-4344-a07e-7e5ff508283d”,
“robotName”: “ben”,
“machineId”: 52082,
“fileName”: “GetTransactionData”,
“logF_BusinessProcessName”: “Framework”
}

Appreciate any help, thanks!

Please verify that you have passed all values to GetTransactionData.xaml properly

The error means that in_WorkItemsList does not have any rows to perform transaction

This is Main->General Business->Get Transaction Data see argument in_WIList

Thanks,
Prankur

Hi Prankur

I already did that.
My current workflow logs into ACME and cycles through the Work Item pages till the end, then does nothing.

Print WILIst cout in GetTransactionData and see if you get a count

Hi Prankur

I am not getting any count.

Great this means that either the data is not getting scrapped properly or it is not sent to GetTransactionData properly.

Print the count of row where you extracted the data, then pass it to GetTransactionData

Thanks,
Prankur

Hi Prankur

I am now getting a count of 19.
But it seems that the workflows within Process.xaml are not getting triggered.

Okay print in_TransactionItem(“WID”).ToString and see if you get any value

Thanks,
Prankur

I got no output from, out_TransactionItem(“WIID”).ToString

GetTransactiondata should be like this

image

Then invoke process like this

Does not seem to work

Click on Edit arguments in GetTransactionData.xaml

verify this

My arguments are similar.

I think it is not going into the if condition in GetTransactionData

in_TransactionNumber<=in_WIList.Count

which I think is incorrect in your case, please verify

Thanks,
Prankur

I suppose so, but I do not understand why.

Screenshot%20(324)

Have you printed both in_WIList and in_WIListItemsCount before if condition in GetTransactionData?

No output if I print them in GetTransactionData

Have you created WIListItems and WIListItemsCount in Main.xaml ? I can see that you have assigned the data in System1_ExtractItems to out arguments but have you assigned those out arguments in Main’s local variable

Yes I have. The output log now looks like this and runs infinitely.
56135 is the WIID of the first WI5 type.
The write lines are in the GetTransactionData file before If condition

Have you set the Transaction Number to +1 in SetTransactionStatus.xaml, it seems transaction number is not incrementing, Also flow is not going into if condition right?

I can see one more empty line in output, what is that you are printing but it empty?