Question
Resolving Null variables
In our system a user can enter up to 3 studies but only one is required.
My current work around is saving any studies not entered to "N/A"
if(
isnull(ri!svcRequest.study_two),
{ a!save(ri!svcRequest.study_two, "N/A") },
{}
),
if(
isnull(ri!svcRequest.study_three),
{ a!save(ri!svcRequest.study_three, "N/A ") },
{}
),
Issues is In the follow up email it looks like this:
We were pleased to support your review by performing additional analysis on studies: cat, N/A, N/A
My current work around is saving any studies not entered to "N/A"
if(
isnull(ri!svcRequest.study_two),
{ a!save(ri!svcRequest.study_two, "N/A") },
{}
),
if(
isnull(ri!svcRequest.study_three),
{ a!save(ri!svcRequest.study_three, "N/A ") },
{}
),
Issues is In the follow up email it looks like this:
We were pleased to support your review by performing additional analysis on studies: cat, N/A, N/A
How do I show and hide variables with null values so the sentence above only shows studies that are entered?
We were pleased to support your review by performing additional analysis on studies: cat
Side note: this is what the email expression looks like:
=pv!svcRequest.study_one & ", " & pv!svcRequest.study_two & ", " & pv!svcRequest.study_three
