Scenario: Using a loop & calculations to generate dates and days of week to be processed within Get Transaction Data depending on the requirements met.
No orchestrator, but DataRows used for transation items.
Getting data correctly in Get Transaction Data and the transactions is filled with the correct information. It nicely shows the correct data and number of transactions.
Unable to get it to Process, as I am only getting this error.
Process.xaml - Invoke Workflow File: 833, 164, 166, 26 is not a valid value for Int32. (Parameter âvalueâ)
I thought at first it was because I was using a DateTime variable and trying to pass a dd-MM-yyyy hh:mm:ss format, but tried without the space (dd-MM-yyyy) to ensure that wasnât the problem as I know since earlier that can be a problem.
I have tried it as a string, as a DateTime, DateOnly, but they all cause the same issue. Canât pass it as an Int32, because that does not work in the process later on.
Any thoughts? Anything would be helpful at this point.
Thinking about the error you are getting, I imagine it is because the value you want to transfer to the Process workflow is not the same type that the workflow expects.
Sharing ss about the error and the argumentâs value you are trying to pass to process workflows could be super helpful for better judgment.
Then as the Data Tabel and Transaction (datarow) goes over to process, it does not actually get âintoâ the Invoke WorkFlow File in the REFramework.
The only arguments that are being used are the in_TransactionItem and the in_Config. I have tried removing them and recreate them, but it has not helped.
Could you try deleting the Invoke workflow for Process and Add/Drag the Process xaml again to invoke it newly and configure it accordingly and check if not already done.
Assuming also, you are able to open the Process.xaml file ?
I had been trying to replicate your issue but honestly, I didnât get it. Anyway, Something that Iâm suspicious about the issues is: the system is confusing the date with a number.
Try to reset the format of numbers and dates on your windows. You can do it by following the next steps:
1.- Move to Control Panel
2.- Clock and Region
3.- Region
4.- Additional Settings
Hello everyone,
I have exactly the same problem and was able to find the cause.
In my process, before starting the Invoke Workflow, I changed the CultureInfo to (de-DE) in order to write an Excel correctly. This led to an error in the subsequent workflow.
If you insert an Assig before the incorrect workflow or after the activity for which you changed it and go back to the default, it should work.
So assign:
Globalization.CultureInfo.CurrentCulture = New CultureInfo(âen-ENâ,false)
Thanks @Toni_DE. I solved it by not changing the culture information in Get Transaction, but to leave it as it was until it got to Process. Once there I added the CultureInfo.