| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod Create ( |  |   SWF_WorkflowDefinition owner, |  |   Key id, |  |   String name, |  |   Number dueoffset, |  |   String description, |  |   SWF_StepDefinition parent, |  |   SWF_AuthorizationBase authorization, |  |   Boolean can_generate_activity, |  |   String viewLink, |  |   String viewlinkweb |  | ) as SWF_ActivityDefinition |  | { |  |   Description: 'Create activity definition with the given ID' |  |   TextBody: |  |   [* |  |     element := owner.ElementDefinition( relnew, |  |                                         SWF_ActivityDefinition, |  |                                         ID := id ); |  |      |  |     element.Update( parent, name, dueoffset, description, authorization, can_generate_activity, viewLink, viewlinkweb ); |  |      |  |     return element; |  |   *] |  | } | 
 |