Capability similar to core.ask supported in python runner #6182
Unanswered
yogeshgoyal26
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current implementation of python runner only support to have Boolean value in the status of output and based on that it states the state of the action to either success or fail. Is there any specific reason of keeping it that way.
we have scenarios were we have to execute some code and then wait for certain event. Currently what we are doing is having one action which does that all work and the next action is core.ask. Then we have to have a separate action which can be executed through trigger to keep the link between the route id and inquiry id. So that we know which inquiry id needs to be responded for a route id, otherwise we have to look for all the pending inquiry and match the route id, which has performance impact when we lots of inquiries in pending state
Suggestion
Can we have capability similar to core.ask supported in python runner as well or introduce a new runner type which allow users to have their own action to define business logic in run method and then action goes to pending state
Beta Was this translation helpful? Give feedback.
All reactions