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