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
10 replies
Subscribers
6 subscribers
Views
5241 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Activity Chaining Not Working the second time of upload a file (File Upload in a GridLayout)
riang
over 8 years ago
Hi,
I'd like to ask what are the possible reasons why chaining won't work? and what could fix this issue.
I have this process which has subprocesses that parses contents of excel file.
I uploaded first the excel file (using fileupload in a gridlayout) then click "Import Excel File" button.
This button skips validation and in submits the form then the process will get the file uploaded and parsed.
Once it is parsed it goes back automatically(activity chained) to the form where it initially came from.
The problem is the second time of uploading (removed the previously uploaded file and uploading new file) it won't automatically go back to the form.
The activity chaining won't work. I tried other scenario, wherein the previous file is retained then clicked "Import Excel File" button but still won't return to the form.
There are no asynchronous proces...
OriginalPostID-258232
Discussion posts and replies are publicly visible
Parents
0
riang
over 8 years ago
Hi Rod,
Its just the same number of nodes 26 total nodes(includes nodes from subprocess). I tried testing if subprocesses are the culprit. I removed the subprocess that parses contents from excel file and takeout the script task from it and placed to the main process and it seems the chaining from that instance did not broke. It's working. I just wonder since that subprocess has just a single script task, it should not take a long time, not longer than the limit and it should not break the activity chaining.
That single script task calls 8 expression rules. Each parses a particular data and save to output CDTs.
Now I return another subprocess that deletes the removed files from the UI. It gets back the same issue where the chaining breaks. This subprocess has 5 unattended nodes 3 script tasks, 1 delete document node(runs n times depending on no. of deleted documents) and 1 delete data from entity node.
If I take it out again and placed these 5 nodes to the main process it defeats the purpose of having subprocess. What could you advice to fix this?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
riang
over 8 years ago
Hi Rod,
Its just the same number of nodes 26 total nodes(includes nodes from subprocess). I tried testing if subprocesses are the culprit. I removed the subprocess that parses contents from excel file and takeout the script task from it and placed to the main process and it seems the chaining from that instance did not broke. It's working. I just wonder since that subprocess has just a single script task, it should not take a long time, not longer than the limit and it should not break the activity chaining.
That single script task calls 8 expression rules. Each parses a particular data and save to output CDTs.
Now I return another subprocess that deletes the removed files from the UI. It gets back the same issue where the chaining breaks. This subprocess has 5 unattended nodes 3 script tasks, 1 delete document node(runs n times depending on no. of deleted documents) and 1 delete data from entity node.
If I take it out again and placed these 5 nodes to the main process it defeats the purpose of having subprocess. What could you advice to fix this?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data