Skip to main content

Properties

NameTypeDescription
InputDataTransaction.Documents, read-onlyImportant! This property is deprecated. Returns a Transaction.Documents object that provides access to document data while the processing skill is being run.
OutputDataTransaction.Documents, read-onlyImportant! This property is deprecated. Returns a Transaction.Documents object containing the modified document data. Important! This property is not available for External Export.
TransactionTransaction, read-onlyReturns the Transaction object that provides access to the current transaction and all its documents.
ErrorMessagestringCustom error message. The message text is displayed in Transaction Event Log in Skill monitor. Important! Setting up this property interrupts the transaction.

Methods

NameDescription
CreateMultipartFormDataRequest();Returns a MultipartFormDataRequest object that can be used to send data as a form containing strings and files (multipart/form-data).
CreateHttpRequest();Returns an HttpRequest object that can be used to send a string, file, source image, or a simple form (url-form-encoded). This form cannot contain files.
LogMessage(string msg);Can be used to display a custom message in the log.
GetSecret(string secretName);Returns a string with the value of a tenant environment variable of type secret. If the variable name contains reserved characters " or , they must be escaped with backslash in the method call. To get a list of secrets available in your tenant, start entering the method call and use the Ctrl+Space hotkey when the cursor is inside the brackets. If you need to pass a token to a third-party service, use environment variables. You can find more information about managing environment variables in the Tenant Administrator’s Guide. Note: Currently, only users with the Tenant Administrator role can create, edit, and delete environment variables.