1

I have created a simple workflow start-->createoredit-->automaticactivity-->End. automatic activity doesnt do anything, i have default code in the script area of automati activity FinishActivity "Automatic Activity Finished" alone in the script area.

When i trigger the workflow, automatic activity is not started and performed, it is assigned to "NTAUTHORITY SYSTEM" with the state "Assigned" (In the Global Work List)

Whenever i restart the "Tridion Workflow Agent" service or whenever some other automatic activity assigned via workflow, automatic activity start performed.

I dont see any error message also in the event log.

Could anyone help me on this? I am using SDL Tridion 2011 SP1.

Jey
  • 2,137
  • 4
  • 22
  • 40

2 Answers2

1

The first activity must always be a manual activity. If you need to have the first activity automated then you need to rely on the event system for this.

EDIT: I see you wrote the question to add the first activity to be manual.

When an automatic activity gets stuck in Assigned state, it usually means there is a script error. There could also be something with the connectors between activities in your Visio design. Check that everything us properly connected. Try deleting the link between automaticactivity to End and recreating it again.

Nickoli Roussakov
  • 3,434
  • 16
  • 22
  • Hi Nickoli, i have added one manual activity as well as first activity, still the same problem occurs for me – Jey Nov 23 '12 at 10:48
  • Sorry, I misread your question. It looks like your createoredit is the first activity and is manual. Are you sure the event viewer doesn't show anything? Can you please provide the code for your automatic activity? – Nickoli Roussakov Nov 23 '12 at 10:59
  • FinishActivity "Automatic Activity Finished" – Jey Nov 23 '12 at 11:17
  • Please paste the code. If the activity finishes, as per the log, but is still stuck, you may have an error after the FinishActivity statement. – Nickoli Roussakov Nov 23 '12 at 11:21
  • FinishActivity "Automatic Activity Finished" this is the only line i have in my automatic activity script – Jey Nov 23 '12 at 11:23
  • Hmm... Try Call FinishActivity("Automatic Activity Finished") – Nickoli Roussakov Nov 23 '12 at 11:30
  • FinishActivity("Automatic Activity Finished") i have tried like this alos instead of FinishActivity "Automatic Activity Finished". However the situation remains the same. – Jey Nov 27 '12 at 08:41
0

Check that the "Tridion Content Manager Workflow Agent" windows service is running. This fixed it for us.