Loading...
 
Features / Usability

Features / Usability


[SOLVED] List Execute, 'delete' tracker item configuration

posts: 228 Ukraine

Hi,

I wanted to test out the 'delete' tracker item functionality for List Execute, however, there isn't that much documentation here: https://doc.tiki.org/PluginListExecute#delete

Here's what I've come up with for deleting Tracker items from Tracker #4 with a status of 'Closed'

Copy to clipboard
{LISTEXECUTE()} {filter type="trackeritem"} {filter field="tracker_id" content="4"} {filter content="c" field="tracker_status"} {OUTPUT(template="table")} {column label="First Name" field="contactFirstName"} {column label="Last Name" field="contactLastName"} {OUTPUT} {FORMAT(name="contactFirstName")}{display name="tracker_field_contactFirstName" default=" " }{FORMAT} {FORMAT(name="contactLastName")}{display name="tracker_field_contactLastName" default=" "}{FORMAT} {ACTION(name="Delete closed items" group="Registered")} {step action="tracker_remove_item"} {ACTION} {LISTEXECUTE}


Something is clearly missing in the 'Step Action' part as I get this error message:
Screenshot From 2021 07 06 17 21 07

Any help would be greatly appreciated. Also, I can than add this example to the above link on the Docs page.

Thanks,
Mike

posts: 228 Ukraine

in addition to the 'step action ="tracker_remove_item"' I've also tried:

  • tracker_delete_item
  • trackeritem_remove
  • trackeritem_delete


but none seem to work. Unlike changing a tracker item, 'deleting' only has one part, so can't quite figure out the 'low-code' configuration (no examples on the docs page)

Thanks,
Mike

posts: 228 Ukraine

ok, finally got it - it's just 'delete' without any prefix, so

step action="delete"


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting