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
4 subscribers
Views
1666 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
165217 - no subject - Hi All,\n\nI'm having a bit of trouble w
paulr866
over 9 years ago
Hi All,
I'm having a bit of trouble with my report. I was wondering if there is any way to delay a document link?
The issue that I'm having is that I am using the excel smart service. When I click on export to excel the link shows pretty much instantaneous before the actual document is generated. It takes roughly 5-10 seconds to complete the process. Is there any functions I could use?
Thanks
Paul
OriginalPostID-165217
Discussion posts and replies are publicly visible
Parents
0
ryanh
over 8 years ago
Paul, you could put a timer node or script node that has an exception timer on it before the form is generated. The process would ask the user whatever you normally would do in 1 form, submit form, split the process execution into 2 paths, 1 path goes to the excel smart service, the 2nd path leads to a timer that pauses for 5-10 seconds. Both paths lead into a complex gateway that requires both paths to reach it before continuing. Then after the document is created and the pause occurs it leads out to the next form where the link is available.
We had a similar issue a year+ ago with getting a dynamically created TaskID and the contractor's solution was to run a task report to get the new id and have it loop until the ID was available. Since the ID wasn't available via the report for a second or two sometimes the loop didn't have to run, other times it did 1-2 times. Not a very elegant solution I know, but it seems to work.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
ryanh
over 8 years ago
Paul, you could put a timer node or script node that has an exception timer on it before the form is generated. The process would ask the user whatever you normally would do in 1 form, submit form, split the process execution into 2 paths, 1 path goes to the excel smart service, the 2nd path leads to a timer that pauses for 5-10 seconds. Both paths lead into a complex gateway that requires both paths to reach it before continuing. Then after the document is created and the pause occurs it leads out to the next form where the link is available.
We had a similar issue a year+ ago with getting a dynamically created TaskID and the contractor's solution was to run a task report to get the new id and have it loop until the ID was available. Since the ID wasn't available via the report for a second or two sometimes the loop didn't have to run, other times it did 1-2 times. Not a very elegant solution I know, but it seems to work.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data