3

I am trying to create a Translation Workflow in Web8 when I attempt to Save the Process Definition from Visio to the Content Manager I get the following error message

Invalid value for property 'ActivityDefinitions'. Activity 'RETRIEVE' has invalid script. L2: Unexpected character: =

The script looks fine to me so what am I missing. The script is as follows:

`// Script for Automatic Activity Content Manager Workflow
ActivityFinishData finishData = new ActivityFinishData() { Message = "Automatic Activity Finished" };
SessionAwareCoreServiceClient.FinishActivity(CurrentActivityInstance.Id, finishData, null);`

I have Visio Premium 2010 SP2 installed

The Script Type is "Translation Manager activity"

1 Answer 1

3

The script must be a single keyword. So replace the three lines you have (the comment and the two C# lines) with a single keyword: RETRIEVE

It is this keyword in the script Translation Manager will pick up, not the title of your activity.

2
  • 1
    Ahah, you made it too simple :)
    – Nuno Linhares
    Commented May 5, 2016 at 22:01
  • 1
    Don't worry, I know how to fix that! :) Commented May 6, 2016 at 5:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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