You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to build state machine with following configuration
If state machine reaches stage S1, we need to run action which makes API call to third party service. Based on response of API call, state machine should either move to S2 or S3. To achieve this, we are planning to configure state entry action on S1 which will make API call and based on response send event E2/E3 to state machine to make movement to S2/S3. Is there downside/side effect of firing event from state entry action to achieve this?
We tried with state action but found out it schedules state action on thread pool which we don't want and therefore using state entry action to make sure action runs in callers thread.
The text was updated successfully, but these errors were encountered:
We need to build state machine with following configuration
If state machine reaches stage S1, we need to run action which makes API call to third party service. Based on response of API call, state machine should either move to S2 or S3. To achieve this, we are planning to configure state entry action on S1 which will make API call and based on response send event E2/E3 to state machine to make movement to S2/S3. Is there downside/side effect of firing event from state entry action to achieve this?
We tried with state action but found out it schedules state action on thread pool which we don't want and therefore using state entry action to make sure action runs in callers thread.
The text was updated successfully, but these errors were encountered: