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
2 replies
Subscribers
6 subscribers
Views
1683 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
We are seeing errors in our logs for the linktodocument() when the pv of documen
Keith
over 10 years ago
We are seeing errors in our logs for the linktodocument() when the pv of document type is null.
I would hope the function could handle this and not create a log error. We do not get an Appian alert.
...
OriginalPostID-124579
OriginalPostID-124579
Discussion posts and replies are publicly visible
Parents
0
shiv.sinha
Appian Employee
over 10 years ago
Actually, Keith if you want to check the process variable document to see if it's null without throwing the error. Try this method:
1. Download the plugin: Content Details by UUID from the Shared Components record.
2. Use this function on the process variable document to avoid throwing the error message.
=exact(getcontentobjectdetailsbyid(cons!Document), "No object with this internal name has been found")
This will instead output the string message "No object with this internal name has been found" instead of the error message.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
shiv.sinha
Appian Employee
over 10 years ago
Actually, Keith if you want to check the process variable document to see if it's null without throwing the error. Try this method:
1. Download the plugin: Content Details by UUID from the Shared Components record.
2. Use this function on the process variable document to avoid throwing the error message.
=exact(getcontentobjectdetailsbyid(cons!Document), "No object with this internal name has been found")
This will instead output the string message "No object with this internal name has been found" instead of the error message.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data