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
9 subscribers
Views
3894 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Any one know how to configure the deleteDocument smart service to delete multipl
maheshp664
over 10 years ago
Any one know how to configure the deleteDocument smart service to delete multiple files given an array of document ids..
Thanks.
OriginalPostID-141154
OriginalPostID-141154
Discussion posts and replies are publicly visible
0
Conor Cahill
Certified Lead Developer
over 10 years ago
You can run multiple instances of the node (Other tab), select one instance for each item in [array]. Then set your array to be the document to delete.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
maheshp664
over 10 years ago
worked like a charm! Thank you very much.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shaoyongw
over 10 years ago
I have configure issue with multiple instance. I have selected one instance for each item in [array] in Other tab. But how to set the data input for Document parameter? I tried pv!array and pv!array[tp!taskinstance] and both failed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shaoyongw
over 10 years ago
correct: tp!instanceindex
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Conor Cahill
Certified Lead Developer
over 10 years ago
What error are you receiving if you use pv!array as your doc to delete input?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shaoyongw
over 10 years ago
I have get it fixed. Should select finish all the instance before moving on.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel