if( 'recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType'="Medical", rule!NZP_DASH_MaintenanceSummaryView(maintenance: rv!record), rule!NZP_DASH_MaintenanceSummaryViewForPen(maintenance: rv!record) )
Discussion posts and replies are publicly visible
What is your question?
I want to call two different Dashboards in one summary view
it is showing me this summary
yaahh exactly
Well, then, what is the actual value in that "requestType" field?
1]Medical for animal
2]Equipment for pen
You do not reference that field in the record to compare the value, but compare the name of the record field itself against that literal.
Change it to
ri!maintenance['recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType']
Find the documentation here: docs.appian.com/.../reference-records.html
it is not working
What is not working? More details please !!!
its my interfaces
these two interfaces i want to call this in one maintenance summary view but iam getting only one interface for different types
Not sure why you share this with me.
You explained that the actual issue is with the if() statement. Then I suggested changing that code, but there still seems to be a problem with that if().
Can you share the current state of that if()?
this is my summary view can u suggest me how can i call those interfaces in this one summary view
Sure. You just need to reference the record field like in the record title configuration:
This is the name of the field
'recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType'
This is the value of that field in a specific record data structure
rf!record['recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType']
can u suggest what should i put there??
i mean i need the code?
I already tried to explain this twice ...
Here you go:
if( rv!record['recordType!{3a147a0e-d35e-4fa0-96f7-d91590fdf68d}NZP Maintenance.fields.{b3c7019a-c216-42e6-b725-b7c67abec412}requestType']="Medical", rule!NZP_DASH_MaintenanceSummaryView(maintenance: rv!record), rule!NZP_DASH_MaintenanceSummaryViewForPen(maintenance: rv!record) )
where should i use that code??
yes i have done but still its its opening the same interface
I was asking for the actual values in this field. You told me that the values are "Medical" and "Equipment". That's not true. You use numeric values to represent case types. Check out the green highlighted area in your screenshot.
You will have to use the ACTUAL values. Not the literals used to display the type to the user.