Usage of if else condition for data check
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2024 12:06 AM
Hi,
In a particular Workflows Job, I am trying to add some data checks in between each task by using If else statement.
I used following statement in a notebook to call parameter in if else condition to check logic.
{
"job_id": XXXXX,
"notebook_params": {
"minMPID": "200912",
"maxMPID": "202312",
"Flag":1
}
}
After that, I am adding a if/else condition task in between 2 tasks to check data and calling maxMPID to check whether maxMPID == 202312. However, it gets failure.
How to define a parameter to use in if else condition Job? Or do you have any suggestion to add sanity checks for data (whether any duplication, or table filled) in between each task?