A dropdown component [label="Type"] has an invalid value for "value". All selected values must be present in the choiceValues array, but value was and choiceValues was 117; 118. (APNX-1-4198-000)

Getting above error how to resolve .. as value is null ..

  Discussion posts and replies are publicly visible

Parents
  • a!localvariables(local!leadData: rule!PRO_qrtLead(leadId: 244).data,

    local!credentiallingTypes: if(
    a!isNullOrEmpty(
    local!leadData['recordType!TRO Lead.fields.credentialingTypeLookupRefId]
    ),
    {},
    local!leadData['recordType!TRO Lead.fields.credentialingTypeLookupRefId]
    ),

    a!dropdownField(
    label: "Type",
    choiceLabels: local!TRO Lookup.fields.label,
    choiceValues: local!TRO Lookup.fields.lookupRefId,
    placeholder: "---Select Credentialling Types---",
    value: local!credentiallingTypes,
    saveInto: local!credentiallingTypes
    ))

Reply
  • a!localvariables(local!leadData: rule!PRO_qrtLead(leadId: 244).data,

    local!credentiallingTypes: if(
    a!isNullOrEmpty(
    local!leadData['recordType!TRO Lead.fields.credentialingTypeLookupRefId]
    ),
    {},
    local!leadData['recordType!TRO Lead.fields.credentialingTypeLookupRefId]
    ),

    a!dropdownField(
    label: "Type",
    choiceLabels: local!TRO Lookup.fields.label,
    choiceValues: local!TRO Lookup.fields.lookupRefId,
    placeholder: "---Select Credentialling Types---",
    value: local!credentiallingTypes,
    saveInto: local!credentiallingTypes
    ))

Children