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
28
29
30
31
32
33
  | 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 primary_external_link_id, 
 |    String secondary_external_link_id, 
 |    String external_system_name, 
 |    String viewLink, 
 |    String viewlinkweb 
 |  ) as SWF_ActivityDefinitionExternal 
 |  { 
 |    Description: 'Create activity definition with the given ID' 
 |    TextBody: 
 |    [* 
 |      element := owner.ElementDefinition( relnew, 
 |                                          SWF_ActivityDefinitionExternal, 
 |                                          ID := id, 
 |                                          PrimaryExternalLinkID := primary_external_link_id, 
 |                                          SecondaryExternalLinkID := secondary_external_link_id, 
 |                                          ExternalSystemName := external_system_name ); 
 |       
 |      element.Update( parent, name, dueoffset, description, authorization, can_generate_activity, viewLink, viewlinkweb ); 
 |       
 |      return element; 
 |    *] 
 |  } 
 |  
  |