Special list variables: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 17: Line 17:
|2-1
|2-1
|}
|}


https://s.pfx.so/pf/s3/0HxI6B.png
https://s.pfx.so/pf/s3/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.
*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 ==
{| class="wikitable" style="width:100%; text-align: center;"
{| class="wikitable" style="width:100%; text-align: center;"
Line 30: Line 30:
|2-2,2-1
|2-2,2-1
|}
|}


https://s.pfx.so/pf/qv/9w35Kj.png
https://s.pfx.so/pf/qv/9w35Kj.png


{| class="wikitable" style="width:100%; text-align: center;"
{| class="wikitable" style="width:100%; text-align: center;"
Line 41: Line 41:
|3-4,3-3,3-2,3-1
|3-4,3-3,3-2,3-1
|}
|}


https://s.pfx.so/pf/6o/1RIib8.png
https://s.pfx.so/pf/6o/1RIib8.png
Line 50: Line 51:
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.!count}}</nowiki> || 2,2
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.!count}}</nowiki> || 2,2
|}
|}


https://s.pfx.so/pf/AS/4bxUoZ.png
https://s.pfx.so/pf/AS/4bxUoZ.png
== !total count ==
== !total count ==
{| class="wikitable" style="width:100%; text-align: center;"
{| class="wikitable" style="width:100%; text-align: center;"
! Variable !! Result
! Variable !! Result
|-
|-
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.!total count}}</nowiki> || 8
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.Task Set.!total count}}</nowiki> || 8
|}
|}
<a href="https://p.pfx.so/pf/RF/CXi4Ef.png">https://p.pfx.so/pf/RF/CXi4Ef.png</a>




https://s.pfx.so/pf/SE/bJudJh.png
== Record number ==
== Record number ==
{| class="wikitable" style="width:100%; text-align: center;"
{| class="wikitable" style="width:100%; text-align: center;"
! Variable !! Result
! Variable !! Result
|-
|-
|rowspan="8" | <nowiki></nowiki> || 1
|rowspan="8" | <nowiki>{{Task.Task Set.Task Set.Task Set.Record number}}</nowiki> || 1
|-
|-
| 2
| 2
Line 83: Line 83:
| 2
| 2
|}
|}
<a href="https://p.pfx.so/pf/Q1/36jBSF.png">https://p.pfx.so/pf/Q1/36jBSF.png</a>




https://s.pfx.so/pf/qU/XfT6jM.png
== Total record number ==
== Total record number ==
{| class="wikitable" style="width:100%; text-align: center;"
{| class="wikitable" style="width:100%; text-align: center;"
! Variable !! Result
! Variable !! Result
|-
|-
|rowspan="8" | <nowiki></nowiki> || 1
|rowspan="8" | <nowiki>{{Task.Task Set.Task Set.Task Set.Total record number}}</nowiki> || 1
|-
|-
| 2
| 2
Line 108: Line 107:
|}
|}


<a href="https://p.pfx.so/pf/yI/oFULgC.png">https://p.pfx.so/pf/yI/oFULgC.png</a>
 
https://s.pfx.so/pf/NR/ygzWAt.png




== Go To ==
== Go To ==
*[[Variables in document templates]]
*[[Variables in document templates]]
*[[Document templates]]
*[[Documents]]

Latest revision as of 07:48, 25 December 2024

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


4bxUoZ.png

!total count

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


bJudJh.png

Record number

Variable Result
{{Task.Task Set.Task Set.Task Set.Record number}} 1
2
1
2
1
2
1
2


XfT6jM.png

Total record number

Variable Result
{{Task.Task Set.Task Set.Task Set.Total record number}} 1
2
3
4
5
6
7
8


ygzWAt.png


Go To