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
1157 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
rayudua
over 11 years ago
The task completion on the MNI does not mean that the files and folders are really deleted. I understand you set to move on when all instances are completed, Did you assure that the permissions are good for all files and folders you expect to delete. keep a UI node so it stops for user action after the MNI and before the Delete from datastore task, and see if the MNI really did what it should do.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rayudua
over 11 years ago
The task completion on the MNI does not mean that the files and folders are really deleted. I understand you set to move on when all instances are completed, Did you assure that the permissions are good for all files and folders you expect to delete. keep a UI node so it stops for user action after the MNI and before the Delete from datastore task, and see if the MNI really did what it should do.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data