Test null date server side

18 views
Skip to first unread message

Fabio Lenzarini

unread,
Nov 21, 2025, 11:53:59 AM (10 days ago) Nov 21
to Jam.py Users Mailing List
Hi all,
I've a server procedure where I need to filter data where a date field is ull.. just create the record.

I've try some test like:
    message_schedule.filters.next_start.value = isnull

but I' got error..

some suggestion?

thanks
Fabio

Danijel Kaurin

unread,
Nov 23, 2025, 7:42:46 PM (8 days ago) Nov 23
to Fabio Lenzarini, Jam.py Users Mailing List
Hi Fabio.

To filter data on the server on item open. user on_before_open server event and filter data on this way:

params['__filters'].append([' next_start ', item.task.consts.FILTER_ISNULL, True])

Can you describe what you want to do exactly?

Regards

Danijel

--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jam-py/4aa14f0e-8e35-40ae-8daf-e0f97d4d2093n%40googlegroups.com.

Fabio Lenzarini

unread,
Nov 25, 2025, 8:29:03 AM (6 days ago) Nov 25
to Danijel Kaurin, Jam.py Users Mailing List
Hi Danijel, thanks Drazen

This seems to be working properly:

   ## imposto la prima volta
    message_schedule = task.message_schedule.copy(handlers = False)
   
    message_schedule.set_where(next_start__isnull = True)

    #message_schedule.set_where(next_start = isnull)
    message_schedule.open()
   
    for message_schedule_loop in message_schedule:
       
        message_schedule_loop.edit()

        # imposto l'orario del nuovo messaggio

Dean D. Babic

unread,
Nov 25, 2025, 8:35:19 PM (6 days ago) Nov 25
to Jam.py Users Mailing List
Thanks,

I updated the Docs.

Reply all
Reply to author
Forward
0 new messages