Enabling Disabling Containers based on a Condition
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
- Mark as New
- Subscribe to RSS Feed
- Permalink
- Labels:
- Custom Tools
- Mark as New
- Subscribe to RSS Feed
- Permalink
hey @KirillZ
Are you able to attach that part of your workflow to this thread please?
I'll have a look at your configuration.
Cheers,
TheOC
- Mark as New
- Subscribe to RSS Feed
- Permalink
I don't think the condition tool works like you are trying to use it. Its meant t be used with interactive input. So if you put this tool in and run the workflow as a workflow I don't think its executing and therefore your container will always be in its default state.
What I've done in this situation is 1 of three things.
- Put code in a macro that is called from another workflow. This way the interface tools can be used and can effect change
- Just put a simple filter before the Monday code. If Monday I return true, otherwise return false. That way zero records are flowing into that code block effectively preventing execution.
- Since you are already using python you can put a check at the top of the python script to check for the day of the week.
Hope this helps. otherwise as @KirillZ said if you can provide a snippet that at least demonstrates your logic that isn't working we can give more feedback.
- Mark as New
- Subscribe to RSS Feed
- Permalink
Hi @KirillZ
I would recommend checking out this solution: https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Run-Container-workflow-by-condition/td...
This would be using #1 of @BobR 's solutions above.
