Empty field on catalogue item appearing as NULL on requested item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 07:10 AM
I've got a catalogue item that allows a user to not select a certain field and they can leave this empty:
From the screenshot, the user can leave the New Lab Level/Platform Child field empty. However, when a user submits their request, it appears as NULL in the requested item rather than showing as empty:
I'm using a multi row variable set to get my results. The following client scripts apply to the New Platform and New Lab Level/Platform Child fields:
Does anyone know what I need to do to show New Lab Level/Platform Child field as an empty value on my requested item rather than null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2025 07:43 AM
Hello @matthew_hughes
Since the MRVS values are handled as JSON string, it shows empty values as null sometimes in processing. I had faced similar issue earlier, I had workaround to clear the value in field after the form is submitted via server script. You can query sc_multi_row_question_answer table and update the record with the question.
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 06:14 AM
Hi @Ahmmed Ali Did you do that as a onSubmit client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 07:17 AM
Hello @matthew_hughes
No, if you clear it on onSubmit, it will still add null in server processing. I had done that in ASYNC BR on the target table (as mine was record producer, if yours is catalog item, you can do the same in workflow).
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2025 07:32 AM
Hi @Ahmmed Ali I'm using flow designer for my catalogue item. How would I apply it to my flow?