Predefined variables in your Automatic Activity C# script
The C# script fragment you are writing will be included into a predefined method of a predefined class. This means that you have a certain number of variables at your disposal. Refer to the Core Service API reference documentation for more information about the classes involved.
SessionAwareCoreServiceClient-
Type:
Tridion.ContentManager.CoreService.Client.ISessionAwareCoreServiceDescription: The session-aware Core Service client. Use this client to interact with Content Manager.
StreamDownloadClient-
Type:
Tridion.ContentManager.CoreService.Client.IStreamDownloadDescription: Use this client to download files from Content Manager.
StreamUploadClient-
Type:
Tridion.ContentManager.CoreService.Client.IStreamUploadDescription: Use this client to upload files to Content Manager.
CoreServiceBatchClient-
Type:
Tridion.ContentManager.CoreService.Client.ICoreServiceBatchDescription: The Core Service batch client., which lets you execute commands on a set of items.
CurrentActivityInstance-
Type:
Tridion.ContentManager.CoreService.Client.ActivityInstanceDataDescription: This represents the current Activity being executed.
ProcessInstance-
Type:
Tridion.ContentManager.CoreService.Client.ProcessInstanceDataDescription: This represents the current Process instance being executed.
ResumeBookmark-
Type:
stringDescription: Use this bookmark to resume a suspended Activity.
Logger-
Type:
Tridion.ContentManager.Workflow.LoggerDescription: Use this object to log messages using one of the following methods:
Write(Exception exception)Verbose(string message)Verbose(Exception exception)Verbose(string format, params object[] args)Warning(Exception exception)Warning(string message)Information(string message)