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
1156 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I have a main process running a synchronous subprocess followed by a 'Delete
catherinec
over 11 years ago
I have a main process running a synchronous subprocess followed by a 'Delete from Data Store Entity task'. The subprocess deletes all files and folders for each record in my array. It is defined so that it runs one instance for each item found in an array, it is set to run all instances at the same time and is set to move on when all instances are done. However, I'm finding that the 'Delete from Data Store task' following this subprocess starts before all my instances are completed in the subprocess. Since the 'Delete from Data Store' task is dependant upon the all records being processed in the subprocess first, I end up with multiple errors. Is there an additional setting that I'm missing here? How can I force my subprocess to process all records before moving on?...
OriginalPostID-66497
OriginalPostID-66497
Discussion posts and replies are publicly visible
Parents
0
catherinec
over 11 years ago
Thanks. I added a UI node between the subprocess which deletes the documents and folders and the node that deletes the db entries. I've found that if my array contains only one record, the process runs to completion without issue. All my folders and documents are removed from the documents section and then the entries are deleted from the DB. The problem occurs when I have more than one entry in my array.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
catherinec
over 11 years ago
Thanks. I added a UI node between the subprocess which deletes the documents and folders and the node that deletes the db entries. I've found that if my array contains only one record, the process runs to completion without issue. All my folders and documents are removed from the documents section and then the entries are deleted from the DB. The problem occurs when I have more than one entry in my array.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data