Special list variables: Difference between revisions
From Planfix
								
												
				No edit summary  | 
				 (→!join)  | 
				||
| 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  | ||
== !count ==  | == !count ==  | ||
{| class="wikitable" style="width:100%; text-align: center;"  | {| class="wikitable" style="width:100%; text-align: center;"  | ||
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 |