Special list variables: Difference between revisions
From Planfix
								
												
				No edit summary  | 
				 (→!join)  | 
				||
| (One intermediate revision by the same user 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  | ||
| Line 40: | 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 49: | 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;"  | ||
| Line 58: | Line 60: | ||
|rowspan="2" | <nowiki>{{Task.Task Set.Task Set.Task Set.!total count}}</nowiki> || 8  | |rowspan="2" | <nowiki>{{Task.Task Set.Task Set.Task Set.!total count}}</nowiki> || 8  | ||
|}  | |}  | ||
https://s.pfx.so/pf/SE/bJudJh.png  | 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;"  | ||
| Line 81: | Line 83: | ||
| 2  | | 2  | ||
|}  | |}  | ||
https://s.pfx.so/pf/qU/XfT6jM.png  | 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;"  | ||
| Line 104: | Line 106: | ||
| 8  | | 8  | ||
|}  | |}  | ||
https://s.pfx.so/pf/NR/ygzWAt.png  | https://s.pfx.so/pf/NR/ygzWAt.png  | ||
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 | 
- 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 | 
| 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 | 
!count
| Variable | Result | 
|---|---|
| {{Task.Task Set.Task Set.!count}} | 2,2 | 
!total count
| Variable | Result | 
|---|---|
| {{Task.Task Set.Task Set.Task Set.!total count}} | 8 | 
Record number
| Variable | Result | 
|---|---|
| {{Task.Task Set.Task Set.Task Set.Record number}} | 1 | 
| 2 | |
| 1 | |
| 2 | |
| 1 | |
| 2 | |
| 1 | |
| 2 | 
Total record number
| Variable | Result | 
|---|---|
| {{Task.Task Set.Task Set.Task Set.Total record number}} | 1 | 
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 |