Calculate client security hash- Problem with transactions


#1

Hello,

I am working on calculate client security hash and when I run program it fetches data correctly from acme website and then filters correctly for type = WI5 and status= “open” in system1workitems.xaml workflow. Inspite of having data nothing gets processed and it says there are no more transactions. It seems like gettransactionsdata.xaml only fetches first record. Attached are all workflows.

Thanks in advance for reply,

Rishi

Assignment2.zip (520.9 KB)


#2

Hi @RISHI4897,

Update the value of ‘TransactionNumber’ manually by assigning TransactionNumber=TransactionNumber+1 in the finally section of process transaction block in main.xaml.


#3

@nimin,

Thanks for reply.I tried what you suggested but the problem still persists. I have completed workflows in process.xaml to get client ID, Client Country etc. Those aren’t getting executed as well because it doesn’t process any transaction for some reason. I tried putting output statement in gettransactionsdata.xaml so everytime if condition returns true it will print out Out_TransactionItem but it prints only once so basically I think the issue is it’s not iterating over all the fetched data. I am not sure how to fix it. If you could look again that would be of great help.

Thank you
Rishi


#4

Hi @RISHI4897,

I can’t download the .zip file. Could you please upload it once again?

Warm regards,
Nimin


#5

@nimin.
Here you go.Thanks for looking into this
.Assignment2.zip (522.7 KB)


#6

Hi @RISHI4897,

Thank you for the upload. In your workflow, the datatype for “Transaction Item” was defined differently in different workflows. Your transaction item type is string in “GetTransactionData” workflow. So you can use the same type in all workflows. Also you missed some argument binding. If you are using “Invoke Workflow File” activity, don’t forget to ‘import arguments’ from the invoked file and bind it with the current workflow.

Warm regards,
Nimin


closed #7

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.