>

Booking usages get ignored when using scripting functions

Comments

6 comments

Date Votes
  • Anthony Costantino

    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.

  • Francesco Torchia

    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!

  • Anthony Costantino

    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: 
     

  • Francesco Torchia

    Here's the Jira ticket:

    https://ungerboeck.atlassian.net/browse/ME-9267

  • Benjamin Schwenke

    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.

  • Francesco Torchia

    Thanks, Ben!

    I have informed the customer.

Please sign in to leave a comment.