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
8 replies
Subscribers
5 subscribers
Views
3233 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
We are using "Move Document" smart service to move one of our document
Mahesh Sanga
over 10 years ago
We are using "Move Document" smart service to move one of our document from Temporary Documents folder to some other folder. It is working well if a destination Folder has some value. If destination folder is empty(we are assigning a PV to this smart service parameter) still the smart service is able to move the document to somewhere. But we are not sure where the document has been moved. Has anyone faced this issue before? Even document function returns nothing for "folderName" property. (We are certain that this document is somewhere but we are not sure where it has been moved)
OriginalPostID-141110
OriginalPostID-141110
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Looked into this in detail and:
1. I was able to reproduce the behavior
2. Confirmed the reason is the Long used to represent the Destination folder is defaulting to 0 since you're not assigning a value
3. Therefore the document is moving to folder 0 which is not a place you can access.
4. You can move the document back if you have the PV that has it stored, simply run the Move Document again without an empty Destination.
5. I recommend you add a check for empty PVs in your logic
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Looked into this in detail and:
1. I was able to reproduce the behavior
2. Confirmed the reason is the Long used to represent the Destination folder is defaulting to 0 since you're not assigning a value
3. Therefore the document is moving to folder 0 which is not a place you can access.
4. You can move the document back if you have the PV that has it stored, simply run the Move Document again without an empty Destination.
5. I recommend you add a check for empty PVs in your logic
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data