Record Type as a rule input in an interface

I am trying to follow appian academy tutorial. 

In the steps i have to call a record type using rule input in an interface.

However, when i type my record name in New rule input type it is not shown.

What can i do?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Senior Developer

    Hi Najlaa,

    Please try searching the recordtype in the datatype dropdown by manually typing the values.(ex:vehicle)

    Also below is the sample rule to query your record type

    ex: Vehicle is  my record type

    a!queryRecordType(
    recordType: 'recordType!Vehicle',
    filters:a!queryFilter(
    field:Vehicle.id,
    operator:"=",
    value:ri!id,
    ),
    pagingInfo:a!pagingInfo(
    startIndex:1,batchSize: 1
    )
    ).data

    please try and let me know for any challenges. Thanks

Reply
  • 0
    Certified Senior Developer

    Hi Najlaa,

    Please try searching the recordtype in the datatype dropdown by manually typing the values.(ex:vehicle)

    Also below is the sample rule to query your record type

    ex: Vehicle is  my record type

    a!queryRecordType(
    recordType: 'recordType!Vehicle',
    filters:a!queryFilter(
    field:Vehicle.id,
    operator:"=",
    value:ri!id,
    ),
    pagingInfo:a!pagingInfo(
    startIndex:1,batchSize: 1
    )
    ).data

    please try and let me know for any challenges. Thanks

Children