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
6 replies
Subscribers
7 subscribers
Views
4328 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Update Constant Smart Service
nazeeft
over 7 years ago
How to update a Document type Constant using a update constant smart service?
ERROR: There is a problem with task “Update Book Image” in the process “RP_AdminProcessModel”. Invalid Cast: Cannot cast from type 'Document' to type 'Content Constant' (Data Inputs)
OriginalPostID-234746
Discussion posts and replies are publicly visible
Parents
0
chandu
A Score Level 2
over 7 years ago
I guess the Error is because of mismatching data type. Can You please check the data type of the variable that is used in the Update Constant Smart service->Data tab->Node Inputs.
I tried you scenario, i took a constant pointing to an Image document. I requested user to upload a new image from Sail form, Updated the Constant with the User Uploaded image and verified the displaying the same one.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
chandu
A Score Level 2
over 7 years ago
I guess the Error is because of mismatching data type. Can You please check the data type of the variable that is used in the Update Constant Smart service->Data tab->Node Inputs.
I tried you scenario, i took a constant pointing to an Image document. I requested user to upload a new image from Sail form, Updated the Constant with the User Uploaded image and verified the displaying the same one.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data