Questions tagged [state-machine-workflow]

44 questions
8
votes
2 answers

Persistent Sessions in Meteor

So, one of the more confusing aspects I've been observing with Meteor is that Sessions get cleared every refresh. Since it isn't a persistent store, where would I put things like userid, or where people are in my application's state machine? What…
5
votes
3 answers

State machine workflow framework

I'm about to implement a state machine based workflow in my app and I've encountered an interesting framework that could make this task easier - http://code.google.com/p/stateless/ Sadly, it's for C# only. Does anyone know about a similar workflow…
brabec
  • 4,632
  • 8
  • 37
  • 63
3
votes
2 answers

Starting a State Machine Workflow in Any State

I am looking into creating a new State Machine Workflow - generally with our other flow chart workflows we have them setup so that we can restart them after an upgrade by starting them in a future "state" - is there an easy way to start a state…
Wiredness
  • 175
  • 2
  • 12
3
votes
1 answer

Spring state machine configuration for rest service requests

I have a simple order processing application and trying to apply spring state machine for handling states of the order. And I wondering how can I handle order's states for the same order during multiple request from rest service. Order states: enum…
tyomka
  • 459
  • 2
  • 5
  • 14
3
votes
1 answer

state_machine gem integration with rails 4

I am facing a problem with usage of state_machine gem with my rails 4 app. A have a model which include a column call state as described in the provided rails tutorial http://gistflow.com/posts/679-state-machine-with-rails-basics but when I define…
2
votes
1 answer

Testing Receive Activities in WF4 State Machine

I'm trying to test my WF4 State Machine workflow. A few of the transitions are triggered by Receive activities and, based on the data in the message, make the the appropriate transition. Right now I'm using the WorkflowApplicationTest to run my…
2
votes
1 answer

AWS Step Functions: How to access the input of the state that generated an exception in a catch block?

I am trying to add error handling in my step function flow using the Parallel and Catch blocks as defined in the State Machine Language. Following is the flow diagram of my step functions: Since I want a common error handler for all the step…
2
votes
1 answer

State Machine Workflow Approve/Reject Buttons on Edit page

I want to create state machine workflow using visual studio where on edit of assigned task user should get approve-reject button. Currently I am getting % Completed option. When I tried to assign task using SharePoint Designer 2013 my edit task was…
2
votes
1 answer

Error handling when using a state machine

I use a state machine for my c# GUI application. With this I have several states and a single state called ErrorHappened. The state machine can go from every state into these error state. But using this architecture I first know that a error…
ElkeAusBerlin
  • 565
  • 1
  • 4
  • 18
2
votes
1 answer

Complicated state transitions: best practices

I work with embedded stuff, and I have some software module that manages hardware. This module has state, and state transitions are complicated: depending on events, the module could go from state A to state B or probably to C. But, when it exits…
Dmitry Frank
  • 10,417
  • 10
  • 64
  • 114
2
votes
3 answers

State Machine WF: Issues with workflow termination

We have a state machine workflow for maintaining the state of an application submitted by a user. One of the issues I am having is related to workflow termination. In one of the states, I had a bug. When the application reached that state, it threw…
AgentHunt
  • 669
  • 3
  • 11
  • 28
2
votes
1 answer

How to send events to Windows Workflow 4 state machine to advance state?

I am considering using Windows Workflow State Machine (.NET 4.5) but need some direction. I have a WCF service with a state machine for a phone call. Let's say the states are: Initialized Ringing Connected Busy No Answer Disconnected And the…
Dan C
  • 2,236
  • 2
  • 19
  • 30
2
votes
1 answer

Can a Parallel Split Workflow be Accomplished Using a State Machine Pattern?

Or I should say, what is the correct way/tool to implement a parallel split task? I've got a single state/status for an entity involved in a workflow. I could add some additional statuses for each parallel path, but is there a better way to do…
Paul
  • 6,188
  • 1
  • 41
  • 63
2
votes
1 answer

How do I create dynamic definitions for state machine based on user defined data in DB

I am trying to write an application that will allow users to manage workflows using the State Machine gem but I am not sure how to proceed in allowing users to define their own state machines using the State Machine gem for ruby. In the dynamic…
SJP
  • 586
  • 1
  • 6
  • 13
2
votes
2 answers

Using CallExternalMethodActivity/HandleExternalEventActivity in StateMachine

I'm attempting to make a StateMachine execute some database action between states. So I have a "starting" state that uses CallExternalMethodActivity to call a "BeginExecuteNonQuery" function on an class decorated with ExternalDataExchangeAttribute.…
1
2 3