Questions tagged [state-machine]

Microsoft Visual Studio 2010 provides a State Machine Workflow template that enables you to build workflow solutions for Microsoft SharePoint 2010 by using a graphical design surface. Unlike sequential workflows, which transition from activity to activity, state machine workflows transition from state to state.

Filter by
Sorted by
Tagged with
1 vote
1 answer
147 views

Declarative Workflow : Get User properties

I am using SharePoint 2013. I am reading a row in a SP list based on a field value I need to send to the Manager of that particular item. In the list there is a field as "Manager" which is People type ...
sm101's user avatar
  • 141
1 vote
2 answers
449 views

Action on a transition trigger in State Machine Workflow

What component can I place on a transition trigger in State Machine Action Workflow in order to solve this task: I have 3 states: "State 1", "State 2", "State 3". Exit action of "State 1" has "Simple ...
Zagir Aknazarov's user avatar
1 vote
0 answers
22 views

Difference between Workflow, Sequential Workflow and State Machine Workflow Templates in Visual Studio 2013 for SharePoint 2013 [duplicate]

What is the difference between Workflow, Sequential Workflow and State Machine Workflow Templates in Visual Studio 2013 for SharePoint 2013? This doesn't seem to be clearly documented. Which one ...
Ven's user avatar
  • 1,137
3 votes
0 answers
80 views

Task Properties are not updated in state machine workflow

I have created state machine workflow using visual studio 2013. Now, I want to update task properties when user click on ok button on task list item. Code block of workflow events: // Invoked event ...
Trimantra Software Solution's user avatar
1 vote
0 answers
59 views

State machine workflow delay problem

I have a state machine workflow (see below) When i start the workflow first log is made. By debuggging, the Debugger does not step into the delay. The workflow completes always, BUT the second log ...
user1949096's user avatar
2 votes
3 answers
1k views

state machine workflow in sharepoint

Can anyone provide me any small state machine workflow example with every step, procedure to create and code behind. Is there any portal where I can check numerous state machine workflow examples or ...
Brishal's user avatar
  • 1,205
1 vote
0 answers
445 views

EventDeliveryFailedException "OnWorkflowItemChanged" SerializationException: Cannot get the member "Foo"

I am very stuck on this and would appreciate any leads. I have a complex Visual Studio State Machine Workflow that sporadically errors out with no Unexpected error. All I see in ULS is: Engine ...
Jonathan Eckman's user avatar
0 votes
1 answer
219 views

OnWorkflowItemChanged fire multiple times

I have been using a State Machine workflow (SharePoint 2010). Workflow design Main State: The Main State does not update the item. The Main State contains a OnWorkflowItemChanged. When the item is ...
lotusight's user avatar
0 votes
1 answer
129 views

workflow versioning

I have a sharepoint project and it contains 5 state machine workflows. I had deployed these workflows through VS and they are working as expected. Now here comes the tricky part versioning for these ...
anantharengan's user avatar
0 votes
0 answers
58 views

View the state of a state machine workflow

I created a state machine workflow (with off course different states) for a content type. When i create a library with that content type and start the workflow. I can not see in which state i am. Is ...
Davy's user avatar
  • 480
0 votes
1 answer
965 views

Visual Studio 2010 Workflow Error

I have created a simple workflow in VS 2010. What it does is creating a task for a person, when the person changes the task status to "Complete", it logs a message to workflow history. When I change ...
Lin Zhang's user avatar
0 votes
0 answers
137 views

Workflow Assigned To Dynamic User?

I created State Machine workflow, in Workflow Initiation Form having Owner Field. Once start workflow task assigned to Owner (Dynamic User)?
Nagaraju Pattem's user avatar
0 votes
1 answer
573 views

Assigned To blank in State Machine Workflow?

I created State Machine Workflow regarding on Client Requirement Avery thing is working fine but Approver name not available in Assigned To in Task list field but Task is Created. string ...
Nagaraju Pattem's user avatar
1 vote
1 answer
344 views

Add column to Workflow Status page

I have created a State Machine Workflow and I want to add another column on the Workflow Status page. Currently there are Assigned To, Title, Due Date, Status, Related Content and Outcome. I am ...
nholloway4's user avatar
0 votes
1 answer
1k views

unable to update the list item in nested if-else condition in Visual Studio State Machine Workflow

I am working on State Machine Workflow using Visual Studio 2010 Workflow. I want to update the list item on item changed. But unable to update the item. I am updating the item in nested If-Else ...
MAK's user avatar
  • 622
1 vote
1 answer
1k views

Routing Workflow Task Emails to groups based upon List value

I have developed a state machine workflow that is curretly working fine. Although this is working, users are complaining about being bombarded with workflow task emails that don't have anything to do ...
nholloway4's user avatar
0 votes
1 answer
182 views

fault handling state machine workflows

I've built a state machine workflow with several states. I have not incorporated any form of error control. I was reading about error control within state machine workflows and have come to the ...
Orange Juice Jones's user avatar
1 vote
1 answer
665 views

How to add a fault handler to the entire state machine workflow?

I have a running Site workflow. If the workflow fails for whatever reason, I want to log it in a special way so that I don't have to struggle with the ULS log to figure out what went wrong. How can I ...
JohnDoDo's user avatar
  • 1,169
0 votes
2 answers
3k views

Implement custom sharepoint workflow with aspx page instead of infopath

I am creating state machine workflow in visual studio 2010 and info path form (for approval etc.) is associated with the generated task. But i need to associate aspx form instead of infopath with the ...
zeshan ahmad's user avatar
0 votes
1 answer
1k views

How to start a state machine workflow at a certain state activity (restart after failure)?

Is there a way to start a SP2010 state machine workflow at a specific state activity? For example, if I have state A -> B -> C -> D is is possible to start at C? The idea is I have an workflow that ...
JohnDoDo's user avatar
  • 1,169
0 votes
1 answer
521 views

Special permission set for the task created in state machine workflow is not working

I have created state machine workflow to the list in farm solution, that assign task to the user for approval. But the task can be viewed and edited by any other user, so i searched to set the ...
yogesh's user avatar
  • 183
1 vote
1 answer
335 views

Can you dynamicallly change a SP Workflow at runtime?

I have developed a SP State Machine WF and was able to successfully deploy and work through the WF. I was wondering if you can dynamically change a SP WF at runtime. I don't want to necessarily ...
nholloway4's user avatar
2 votes
2 answers
3k views

Get the current user interacting with a site workflow

I have a SP 2010 state machine Site workflow with lots of custom InfoPath forms. In some cases I need the user that's interacting with the workflow (many users can interact with the Workflow, not ...
JohnDoDo's user avatar
  • 1,169
1 vote
1 answer
1k views

Correlation value has not been initialized on declaration X for activity Y

I have an issue with a SP2010 state machine workflow. The workflow contains two activities, in each of them I'm trying to send mails using the "SendMail" component. I receive instead the following ...
JohnDoDo's user avatar
  • 1,169
2 votes
1 answer
180 views

Support for state machine workflows in future SharePoint versions

I read somewhere that one should avoid implementing state machine workflows in SP2010 since there is no support for state machines in Workflow Foundation 4.0 and as such easy upgradability of state ...
mikedevon's user avatar
  • 207
2 votes
0 answers
447 views

Replicator in State Machine workflow

I'm working on a custom approval workflow with a few twists. Given the different states, and reviews, and the need to step back in some scenarios, I'm going with a state machine workflow. In one of ...
Jorge Carvalho's user avatar