Previous Topic

Book Contents

Book Index

Next Topic

Script (System Activity)

This script activity allows a user to define his own activity. It runs a user script written in Python. The user arguments can be passed to the script using alternative names for the default input. Under that name you can then refer to the incoming variable inside the script.

By default, the operations within the script are performed in the workflow transaction. Of course, you can also create your own transaction but remember that having done this, you also take the responsibility for committing it correctly to the database.

Please see the Script Editor chapter for details.

Icon in the tool bar:

Help Image

Activity Parameter

Function / Meaning

Code

The source code of the script written in Python. This can be then passed to the syntax analyzer. This tool scans the code for correct Python syntax and does not indicate semantics or issues of data integrity.

Input Arguments

Function / Meaning

Output

The map of output arguments used by the script. The argument names used within the script are extracted as the alternative names through default output. To refer to a variable used within the script one has to use its name (as called in the script) as an alternative name for the output, the appropriate value is then extracted automatically.

In

Please see the common parameters/arguments.

Output Arguments

Function / Meaning

Out

Please see the common parameters/arguments.

See Also

Important Activities

Add to Role

Add Attachment

Allocation Simulation

Assessment Simulation

Assign Task

Attachment Dialog

Birt Report Parameter

Calculate Duration

Catalog Refresh

Catalog to Text

Catalog View Close

Catalog View Select

CatalogView Set Query

CatalogView Switch

Change Editor Mode

Change Editor Title

Check Clock Time Intervals (Tariffe)

Check Escalation Records

Check Finance Manager

Check Quantity Scale (Price)

Check Scale Boundary (Price)

Check Status on Update

Check Time Intervals (Periods)

Choose Attribute

Choose File

Client Change

Close All Catalogs

Compare Attributes

Compute N/A Values

Condition

Copy Input Stream to Output Stream

Copy Input Stream to String

Copy to Clipboard

Create Bookmark

Create Query

Create Output Stream

Delete All Records on Table Lv075

Delete Object

Determine Where-Condition

EditorView Close

EditorView Generate the Key

Editor Need Save

EditorView Save

Editor View Set Value

Editor Transaction SyncPoint

Generate PDF Report

Generate Report

Generate XML Data Stream

Get Attribute From Object Type

Get from Hash Map

Get Help Keys

Get Selected Text from Field

Input GUI for a Mail

Message

Meta Workflow Delete

MetaWorkflow new/edit

MetaWorkflow Lock/Unlock

MetaWorkflow Take Lock

New Object

Open Action Customizer

Open Attachment

Open Calculation Customizer

Open Catalog Customizer

Open Catalog View

Open Configuration

Open File

Open Help

Open BO Customizer

Open Object Type Customizer

Open Object Type Translation Editor

Open Mass Move

Open Metamodel Exporter

Open Move

Open Query Editor

Open Process Modeller

Open Report Editor

Open Relation Customizer

Open Rule Customizer

Open User Manager

Open Value Set Customizer

Open View Customizer

Perform Task

Print to Text

Print to Preview

Put in Hash Map Activity

Relation Link Existing Start

Relation Link Existing Finish

Relation Link New Start

Relation Link New Finish

Remove Link

Remove from Role

Removes Objects or Selected Rows from the Current Catalog View

Render Birt Report

Run Save Action on Editor

Save File

Save Text into File

Send Mail

Send Message

Send Mail with Outlook Activity

Set Catalog

Set Query

Set Relational Attributes for Transient Relations

Set a Value for Attribute in Editor

Set a Value for Attribute of Object Type

Settings of Foreign Keys for Transient Relations

Show Birt Report

Show Web Page

Simple Input

Start Escalation

Start External Program

Start from Catalog

Start from CTI

Start from BO Editor

Start from Relation

Start from SideBar

String to Text

Subworkflow

Tally Connect Tester

Take Over Solutions

Toast Message

Transfer

Transfer Create

Transfer (correction) Create

Transfer Global Change

Transfer (correction) Global Change

User Decision

Workflow - Start

Workflow - End

Workflow Transaction SyncPoint

Write Object to a String

XML Export

XML Import