Skip to main content
April 22, 2021
Question

Record Type as a rule input in an interface

  • April 22, 2021
  • 15 replies
  • 0 views

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?

15 replies

adityap0004
April 22, 2021

Najlaa001 You should check you record type is successfully created or not in your application all object with searching you name of record type in application or select a check box of record type to see all records you are created for application and check you appropriate record. If you found this use same when you create a rule input select same record you should manually search on type field. For example your record type is like vehicle_record like something you should search it on same on type field and it will show it on dropdown and then you select.

April 25, 2021

yes, it was created successfully. However, it does not show when I write it down in the rule input.

adityap0004
April 25, 2021

Could you show some screen shots then we exactly know your issue

April 22, 2021

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

April 25, 2021

I can only use the given types in the drop down list or input a CDT manually. I cannot input anything else in the rule input (ie: recordType or an expression rule) What should I do ?

August 31, 2024

Having same issue.