Booking usages get ignored when using scripting functions
- Description of the issue: The customer reported an issue scripting multiple function usages. When they try to script the function named "Konferenslokaler (RB)" for the usages IN , RIV and GEN, then usages IN RIV are never created.
- Account name: Stockholmsmässan AB
- Region: EMEA
- Client version: 26.1
- Steps to reproduce:
- Main Menu → Events → search for 14072 → Functions Tab
- Now click on 3 dots for entry with USAGE name Konferenslokaler (RB) → Tools → Script
- Make sure you click on Script indented, click on Add one function per booking, click on “Per Day” Checkbox, select booking usage "Inflyttning (IN)" and "Rivning (RIV)", Class = Open → Click Save
- Observed results vs Expected results: - These two usages are not added to the functions, but the usage “Genomförande (GEN)” is added without issues
- What is the job the client is trying to accomplish: Adding usages to existing Functions
- Business impact if not resolved: Without scripting, moving in and moving out has to be added manually which can be very time consuming
- Links to articles where you've looked for solutions and also other steps you've taken to research the issue: https://supportcenter.ungerboeck.com/hc/en-us/articles/204568088-Function-Scripting
- Link to Zendesk ticket:https://ungerboeck.zendesk.com/agent/tickets/388349
- Local v30 URL: https://supportwebemea.ungerboeck.com/Stockholm
Pieter Fourie Mike Schepker Nicole Loh Satya Ram Nukala Is it the expected behaviour?
-
Francesco Torchia What usages were used on the BOOKINGS in this event? The Usage selector tells the scripting tool WHICH bookings to use as the basis for the functions it's about to create. Leaving it blank, creates functions for all bookings. Select usages here to script functions for ONLY the bookings with the matching usages.
-
Anthony Costantino
The customer wrote that the bookings hade the usage “genomförande”, “inflytt” and “utflytt” as shown in the example below. (this is on event LLB 2026 Event ID: 13344 in our test environment)Bookings

Function script prompter

Only the one called “genomförande” (event days) is created

Then they have to run the script 2 more times, once for “inflytting” and once for “utflyttning” to get the functions for those usages.
Is this the expected behaviour?Thanks!
-
Francesco Torchia Recommend putting in a ticket for Support to dig into. When I tested in my sandbox, it scripted all three usages as expected in one action:


-
Here's the Jira ticket:
https://ungerboeck.atlassian.net/browse/ME-9267 -
Hi everyone,
Posting the same comment here I put on the ticket:I believe the script process requires the bookings that we target have a date range that the function encompasses.
If you look at the bookings on this event, the bookings with usage “IN” and “RIV” are all dates outside the target function date range for Konferenslokaler .
It is only the bookings with usage “GEN” that have a date range encompassed by the target function, and thus that is why the newly scripted functions are all “GEN” for their usage.
If I change the Konferenslokaler function dates to 09-14 to 09-15 then script again, it generates 11 functions of usage “IN”, which match the bookings in that date range.
I believe this is working as intended, and has always worked this way. -
Thanks, Ben!
I have informed the customer.
Please sign in to leave a comment.
Comments
6 comments
Date Votes