Question: I would like to create workflow using SDL Tridion 2011 SP1, and i am going through the documentation in the live content portal.

I have few questions when I go through the documentation as follows:

1. Can I use **C# (TOM.NET)** for automatted activities/decisions? or should I use only **VBScript (TOM)**? Is there any sample code given in the live content portal for automatted activity/decision?
2. If **C# (TOM.NET)** is not allowed to use in workflows, why are its namespace/class/member references given there in TOM.NET API file?
3. If VBScript only allowed to use in WF, where can I get code/TOM API reference in SDL live content? As of now I dont have access to SDL Tridion server to get the documentation from the installer package.

Answer: 
You can use C# for automated tasks. Create a class and sign it with:

```
[ProgId("[Namespace].[Class Name]")]
[ComVisible(true)]

```

And sign the assembly with RegAsm.exe with the `/codebase` parameter.

Then in the Script of the automated action you can use this object.
1. Create the workflow diagram (based on the requirement) using visio after installing the visio plugin.
2. upload the workflow into SDL Content Manager by providing the credentials and choosing the relevant publication.
3. For automatted activities: create a c# class library and refer the tridion dll's, and user progid and comvisible = true in the solution.
4. create the necessary functions for your workflow.
5. register the assembly in the SDL Tridion Content Manager server.
6. in the workflow "Edit script" use vb script code to get the C# object and its methods.
7. This will simplify the VBScript code and provide flexibility to the developr to work in c#.