Record Picker Issue

I'm trying to implement a record picker in a form.  But I'm facing issues getting it behave the way I would prefer.

Currently I have an interface for the form and this is tied to a process model that uses the interface as a start form and takes the input from the form and calls a Write Record Smart service. 

This all works as expected.

On the interface I have a rule import: ri!workflowTemplateId that holds the selected values of the RecordPicker. 

In the processModel I have processVariable : pv!workflowTemplateId that this is passed into.  My current issue is that when the form is loaded this value is coming in as "0" (I believe) so the RecordPicker field is pre selected but with an object "[Not Available]" because I obviously don't have an object with an ID of 0.  I would like the RecordPicker field to be empty when entering the form but I cannot seem to get it to be empty.  I have tried with this field as both an Integer field and as a List.  How can I create initiate the form with no Record Preselected in the Workflow Template field?

RecordPicker code:

a!pickerFieldRecords(
      label: "Workflow Template",
      labelPosition: "ADJACENT",
      instructions: "",
      helpTooltip: "Select a valid template workflow to use for this event.",
      placeholder: "Select Template Workflow to Initiate",
      maxSelections: 1,
      recordType: 'recordType!{bb035f50-d14a-4303-9c20-48d3e48deab0}WPA1 Workflow Template',
      value: ri!workflowTemplateId,
      saveInto: ri!workflowTemplateId,
      required: true,
      openLinksIn: "NEW_TAB",
      validations: {}
    )

Start Form config:

ProcessVariables:

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data