Hi, like the topic name said, im trying to create Merge All Button on Display ticket list.
already have a button on each tickets to back on ticket list.
i tried to mod this topic, but doesnt work.
i got an action show message with [:TicketIds]m but like the screen shot in the link, if i dont select any tickets, i got a single message with the id ticket of all ticket.
but i dont have 1 message with all tickets, comma separated. How to do that ?
i follow the step : Here is the setup - minimal, easy, seems to work well… describe by QMcKay.
instead of the Action - Execute Print Job, i create an action merge tickets. with [:TicketIds].
is that possible to get the button All merge ticket ?
ive look in all forum pretty much, cant find any related topic.
for screenshot, like i said, i have the same one to the link above, except print action replaced with merge action.
edit: here my config. (can out only 3 screenshot in a post for now
Okay, so what you want to do is create a loop value action, and another action Merge Tickets, configure it with two rules to fire a loop first and then the merge action of loop values, and probably add a refresh action maybe…
Hmm so I got it to merge them all, now just need to make it show tables again or the merged ticket itself
@\JRTech, ive implemented simple reservation tutorial, and mod it to my fit.
its act more like a custom customer account.
and that customers at the end of the month, can have 30 tickets, so yeah a bit laborious ^^
would be much convenient to get my button work.
@\sabat. already create loop value action, action merge tickets, rule to fire loop, rule to merge tickets. like the “tutorial” (i know its not a tuto but more to show how sambopos works, but lets call it tuto).
but its not working.
the fact is: when i get the value from loop value, with a display message, they appear one by one, not in a single string with comma separated. for print action that would be good, but i think i must get it into 1 string to pass it to my merge action, so that can merge all tickets.
i can give screenshot if need, but its really the same one as the tuto …
except, again, the print action, i got a merge action with [:TiketIds] as parameter
What expression at you using to get the list of locket ids?
You might need to add a suffix to the report expression to comma seperate.
If merge ticket action accepts a csvyou don’t need the loop, you just feed in the csv list into the action…
The loop actin/rule is purposefully built to feed value at a time, you probably don’t want loop, just the list into the merge action.
i used [:CommandValue] like in the tutorial
well ok, 2 min, will take all necessary scrennshot, will be more convenient, instead to go on the other tutorial
Loop value +1? I’ve not looked at the linked post but @anon68918697 yes you use command value in the loop value rule but you would have had to used some form of report ticket details expression to generate the list to input into the executed loop action surely?
If merge takes ticket ids, you should be able just to forget loop value and just drop the list into the merge action.
I tried with just [:LoopValue] that gives me the previous closed and merged ticked id.
i tried writing it [:LoopValue]+1 and that doesn’t work, just opens a blank entity … hehehe
So the issue now is not the merging really and just a display issue, I haven’t worked with writing these parameters in months, I need more practice