Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Workflow Scenario:

State-A create task-A and we get OnTaskCreated event, where onchange of task-A we goto State-B where in it we created Task-B, now we are facing problem with Task-B as its OnTaskCreated event as its not firing, does any one know why ?

As we goggled its a known issue faced by many and its Microsoft bug !!!

Now What We Want:

To Get Created Task-B TaskID and its Splistitem

where on CreateTask-B we do get taskID from listitemID property of CreateTask but getitembyid return "task not exist or deleted", is there a way to commit imediately after createtask ?

share|improve this question

2 Answers 2

Make sure you're NOT using system account when creating those workflows. The security update for SP2010 blocks work flows from automatically starting. Weird, I know. Use a different account for the application pool you're experiencing trouble with.

share|improve this answer
    
Hi Thanks..yes i am running with system account ...but i can not change it for some reasons :(. –  Salman Aziz Jun 12 '12 at 7:57

Now i am not using OntaskCreated activity because of its problems, just using CreateTask and setting my custom column value from CreateTaskProperties ExtendedProperties hash table.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.