Skip to main content
Participating Frequently
Apr 22, 2021 12:21 PM UTC
Question

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?

15 replies

adityap0004
Participating Frequently
Apr 22, 2021 1:05 PM UTC

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.

Participating Frequently
Apr 25, 2021 7:41 AM UTC

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

adityap0004
Participating Frequently
Apr 25, 2021 1:54 PM UTC

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

Inspiring
Apr 22, 2021 1:08 PM UTC

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

Participating Frequently
Apr 25, 2021 8:08 AM UTC

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 ?

Known Participant
Aug 31, 2024 11:03 PM UTC

Having same issue.