What I want :
- Checking format type of excel data (integer, string, date field…etc)
- If not the right format, stop the process
Q : To checking the type of datas from excel files, should I check on process.xaml or InitApplications.xaml file before adding queue from datatable ?
It’s ways better to check before adding to queue.
Since adding invalid data to queue not making sense which will be moved to processing.
i would suggest you to do it in InitApplications.xaml file before pushing datatable items to queue
Better to filter 1st rather than filtering after queues
Thanks @Nithinkrishna, @nikhil.girish !!!
How Should I stop the process before Adding queue in InitAllApplications.xaml if the datatype is not correct please ?
Just enclose the
Add Queue Item activity inside and IF activity by mentioning the data type check in the IF condition prop.
Hope this helps.
Thanks you very much, my point is how stop the process in initAllApplications.xaml
What I want :
If the data type is not correct, stop all the process.
You can use Throw for creating an exception or use Terminate workflow activity for the same.
Throw will guide the process flow to End Process which is good to do, where as terminate workflow will abruptly stop the workflow which is not recommended.
I was using my Robot as debug mode, that’s why the workflow doesn’t terminate automatically.
Thanks @Nithinkrishna !
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.