ddr summary/file/scripts

Script Steps in “Go to Assignees | Mobile”

include in menuFalse
run full accessFalse
usesshow dependencies
40 lines
#step iddescription
189
#Store current Task ID for further use
2141
Set Variable [ $$CURRENT_TASKS_ID; Value:Tasks::TASK ID MATCH FIELD ]
389
468
If [ Count ( Assignees::TASK ID MATCH FIELD ) = 0 and Get ( Device ) > 2 ]
589
689
#Choose which is the current running platform and Go to the Appropriate layout
768
If [ Get ( Device ) = 3 ]
86
Go to Layout. [ “Assignees | Tablet” ( Assignees ) ]
9125
Else If [ Get ( Device ) = 4 ]
106
Go to Layout. [ “Assignees | Phone” ( Assignees ) ]
11125
Else If [ Get ( Device ) = 5 ]
1268
If [ Get ( WindowWidth ) + Get ( WindowHeight ) > 1042 ]
136
Go to Layout. [ “Assignees | Tablet” ( Assignees ) ]
1469
Else
156
Go to Layout. [ “Assignees | Phone” ( Assignees ) ]
1670
End If
1789
1870
End If
1989
207
New Record/Request
2189
2289
#Shows only the record just created
23155
Find Matching Records [ Replace; Assignees::TASK ID MATCH FIELD ]
2489
2569
Else
2689
2789
#Choose which is the current running platform and go to the Appropriate layout
2868
If [ Get ( Device ) = 3 ]
2974
Go to Related Record [ From table: “Assignees”; Using layout: “Assignees | Tablet” (Assignees) ]
[ Show only related records ]
30125
Else If [ Get ( Device ) = 4 ]
3174
Go to Related Record [ From table: “Assignees”; Using layout: “Assignees | Phone” (Assignees) ]
[ Show only related records ]
32125
Else If [ Get ( Device ) = 5 ]
3368
If [ Get ( WindowWidth ) + Get ( WindowHeight ) > 1042 ]
3474
Go to Related Record [ From table: “Assignees”; Using layout: “Assignees | Tablet” (Assignees) ]
[ Show only related records ]
3569
Else
3674
Go to Related Record [ From table: “Assignees”; Using layout: “Assignees | Phone” (Assignees) ]
[ Show only related records ]
3770
End If
3870
End If
3989
4070
End If