Special list variables: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
No edit summary
Line 17: Line 17:
|2-1
|2-1
|}
|}


https://s.pfx.so/pf/s3/0HxI6B.png
https://s.pfx.so/pf/s3/0HxI6B.png


<a href="https://p.pfx.so/pf/aD/fIlACC.png">https://p.pfx.so/pf/aD/fIlACC.png</a>
*Note that tasks are displayed "in reverse" because they are sorted by internal ID, i.e., the last task added to Planfix will be displayed first.
*Note that tasks are displayed "in reverse" because they are sorted by internal ID, i.e., the last task added to Planfix will be displayed first.


== !join ==
== !join ==
Line 28: Line 27:
! Variable !! Result
! Variable !! Result
|-
|-
|rowspan="2" | <nowiki></nowiki> || 2-4,2-3
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.!join}}</nowiki> || 2-4,2-3
|-
|-
|2-2,2-1
|2-2,2-1
|}
|}


<a href="https://p.pfx.so/pf/kW/JFpfJN.png">https://p.pfx.so/pf/kW/JFpfJN.png</a>
https://s.pfx.so/pf/qv/9w35Kj.png




Line 39: Line 38:
! Variable !! Result
! Variable !! Result
|-
|-
|rowspan="2" | <nowiki></nowiki> || 3-8,3-7,3-6,3-5
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.!join.Task Set}}</nowiki> || 3-8,3-7,3-6,3-5
|-
|-
|3-4,3-3,3-2,3-1
|3-4,3-3,3-2,3-1
|}
|}


<a href="https://p.pfx.so/pf/BY/FcwaUl.png">https://p.pfx.so/pf/BY/FcwaUl.png</a>
https://s.pfx.so/pf/6o/1RIib8.png
 


== !count ==
== !count ==
Line 51: Line 49:
! Variable !! Result
! Variable !! Result
|-
|-
|rowspan="2" | <nowiki></nowiki> || 2,2
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.!count}}</nowiki> || 2,2
|}
|}


<a href="https://p.pfx.so/pf/x4/Rtvka7.png">https://p.pfx.so/pf/x4/Rtvka7.png</a>
https://s.pfx.so/pf/s3/0HxI6B.png
 


== !total count ==
== !total count ==
Line 61: Line 58:
! Variable !! Result
! Variable !! Result
|-
|-
|rowspan="2" | <nowiki></nowiki> || 8
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.!total count}}</nowiki> || 8
|}
|}



Revision as of 08:34, 31 July 2023

Task nesting levels in the "Task Set" field

Variable Result
{{Task.Task Set.Task Set}} 2-4
2-3
2-2
2-1


0HxI6B.png

  • Note that tasks are displayed "in reverse" because they are sorted by internal ID, i.e., the last task added to Planfix will be displayed first.

!join

Variable Result
{{Task.Task Set.Task Set.!join}} 2-4,2-3
2-2,2-1

9w35Kj.png


Variable Result
{{Task.Task Set.Task Set.!join.Task Set}} 3-8,3-7,3-6,3-5
3-4,3-3,3-2,3-1

1RIib8.png

!count

Variable Result
{{Task.Task Set.Task Set.!count}} 2,2

0HxI6B.png

!total count

Variable Result
{{Task.Task Set.Task Set.!total count}} 8

<a href="CXi4Ef.png">CXi4Ef.png</a>


Record number

Variable Result
1
2
1
2
1
2
1
2

<a href="36jBSF.png">36jBSF.png</a>


Total record number

Variable Result
1
2
3
4
5
6
7
8

<a href="oFULgC.png">oFULgC.png</a>


Go To