Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
5 subscribers
Views
2126 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I'm trying to link to a service-backed record in a Post System Event to Feed
Chris
over 9 years ago
I'm trying to link to a service-backed record in a Post System Event to Feed node, and having difficulty for some reason. Per the documentation I'm using (what appears to be) the same ID field in both the Record Tag and dataSubset returned in the source expression. fldID is the unique identifier in my table and what I am trying to use here, but for some reason this is not creating the link. This was working fine before I converted from a entity-backed record to service-backed. Am I missing something here? I'm assuming the documentation "ID field of the dataSubset" is referring to the "identifiers" parameter?
forum.appian.com/.../System_Functions.html
Record Tag:
=a!toRecordIdentifier(cons!SIR_RECORD,pv!CDT_SoftwareInstallRequest.fldID)
Data Subset:
a!dataSubset(
data: local!data,
identifiers: index(local!data, "fldID", {}),
startIndex: index(local!queryInformation.pagingInfo, "sta...
OriginalPostID-169441
OriginalPostID-169441
Discussion posts and replies are publicly visible
Parents
0
Chris
over 9 years ago
Thanks guys. Testing out a hard coded entry with an expression rule shows success for both integer and string values, a!toRecordIdentifier(cons!SIR_RECORD, 1), etc. However updating with tostring() in the process model seems to work! Good thing to watch out for, apparently a!toRecordIdentifier() is a little buggy with service backed records since it claims to accept any type for ID. Working:
=a!toRecordIdentifier(cons!SIR_RECORD,tostring(pv!CDT_SoftwareInstallRequest.fldID))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Chris
over 9 years ago
Thanks guys. Testing out a hard coded entry with an expression rule shows success for both integer and string values, a!toRecordIdentifier(cons!SIR_RECORD, 1), etc. However updating with tostring() in the process model seems to work! Good thing to watch out for, apparently a!toRecordIdentifier() is a little buggy with service backed records since it claims to accept any type for ID. Working:
=a!toRecordIdentifier(cons!SIR_RECORD,tostring(pv!CDT_SoftwareInstallRequest.fldID))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data