How can I cast True or false into yes or no?

Certified Associate Developer

Hi all,

How can I cast True or false into yes or no?is there any function to convert like this?

Thanks in advance

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to Sanchit Gupta (Xebia)

    if(
    rule!APN_isBlank(ri!ISR_Studyrequest),
    a!dataSubset({}),
    index( index(a!queryEntity(
    entity: cons!ISR_DSE_STUDY_MEDICAL_REVIEW,
    query: a!query(
    logicalExpression: a!queryLogicalExpression(
    operator: "AND",
    filters: {
    a!queryFilter(
    field: "studyRequestId",
    operator: "=",
    value: ri!ISR_Studyrequest
    )
    },
    ignoreFiltersWithEmptyValues: true
    ),
    pagingInfo: a!pagingInfo(
    startIndex: 1,
    batchSize: 1,
    sort: a!sortInfo(
    field: "medicalReviewId",
    ascending: false
    )
    )
    )
    ),"data",{}),"passRecommendation",{}),

    )

Children