Hi, I am using the Drag & Drop to Reorder RG. When I add a workflow to trigger on 'Item Moved" the workflow never triggers. I don’t see any errors in the console. Any ideas?
Hello @GlennFrank, thank you for reaching out.
Sorry for the late reply!
When I add a workflow to trigger on 'Item Moved" the workflow never triggers. I don’t see any errors in the console.
Would you kindly make sure that you have the correct setup for this event? For reference please use our demo page setup:
We are using our demo page as an example of the correct plugin setup since it is working fine.
Also, you can check the Privacy Settings of the database table, within which you are moving items? The root cause can lie within it.
I hope my recommendation will be useful.
Best regards,
Thanks - this is my exact setup. Even when I debug using “step by step” the workflow “Dragable Item Moved” never fires.
And now something weird has happened. My repeating grid flashes very quickly and then I get this…
Hi @GlennFrank
Can you please provide a screen record of the issue and additional details on how to reproduce this issue? This information will help us fix the problem as soon as possible.
Would you kindly use this link to record your screen: https://app.birdeatsbug.com/
This will help us a lot
Due to plugin functionality, this item is displayed when one of the groups is empty. This problem will disappear when you add an element.
Looking forward to your reply.
Have a good rest of the day!
Here is the video of the issue. You can see that debug mode is turned on and the workflow isn’t firing. thnaks
Hi, @GlennFrank
Please accept our sincere apologies for the late reply.
Unfortunately, we are not allowed to view this video. I would like to ask if you recorded the video in private or public mode. If you are recording in private mode, we kindly ask you to select the public mode to view your video.
Here you can change the variant:
Thanks in advance
Best wishes,
Please try this…
Hi @GlennFrank
Thanks for your patience and for the video record.
I have carefully investigated your video report and here is the result. First of all, from your use case depicted on the video, your use case is moving items in the “Draggable area” repeating group. This functionality is provided by the “swap” feature. It does not require any workflows, just an enabled checkbox on the plugin element “Swap”, here: Screenshot by Lightshot
Using the “swap” feature, no workflow is needed. The “Item Moved” event you have mentioned is used for another plugin functionality, mainly for moving items between databases.
This, when you are just swiping elements within the one repeating group, changing their position, the “Item Moved” event won’t be triggered. If you want to use the “move between the database tables” feature please check the demo page to find out how to set it up.
Please let me know if you have any other questions.
Best, Gulce.
Thanks - I am trying to reorder the items in the repeating group on the left and then save the new order. How would I save that new order once I have completed the move?
Hello, @GlennFrank
Sorry for the late reply!
Would it be convenient for you to add our support@zeroqode.com account as a collaborator of your app? We need to make a few tests of the “Item Moved” event in your app. Please disregard the warning message, you can have us as collaborators since we are on an Agency plan.
Thanks in advance.
Regards, Gulce.
I have added you. Thanks so much
Hi, @GlennFrank
Could you please indicate the page where the plugin is used?
Hope to hear from you soon.
Hello @glennfrank
Thank you for access to your app. I have carefully investigated your sort page and here are the results.
First of all, please make sure to create a new data type called “Order” (number) in your Track database table. It is obligatory needed for saving changes in the repeating group (the element’s order, when you change it), using the event “Item Moved” and for making it possible to sort the RG’s order via the plugin element.
To make it possible for the plugin to understand which changes to save, you need to assign a serial number to each cell (each record/track in your table) and save it in the database. For reference, please check carefully our demo editor - specifically, the Group T setup.
As for the repeating group setup, specifically, the Data Source: after adding the Order table, you need to change the “sort by” parameter to “Order”, and set “Descending” to “no”. Example from our demo - Screenshot by Lightshot
As for the plugin element setup, please make sure you have set the correct settings of the “Things” and “Sort data” fields. They should correspond to the “Order” table. Example of our demo page - Lightshot — screenshot tool for Mac & Win Screenshot by Lightshot Screenshot by Lightshot
As for the “Item moved” event setup. Please note that using the “make changes” action, you have to make changes into the Track database table, into the Order column. Like, changing the position of the element inside the repeating group, the “Item moved” action locates which element was moved (by tracking its Order value/unique ID) and makes changes to the Order column, registering a new order to the element. Please see the correct setup of the “make changes” action for the “Item moved” event - Screenshot by Lightshot
With this setup changing the element’s position in the repeating group “Draggable area” should be saved to the database. Please follow these instructions and let me know how it’s going.
Best regards,