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
8 replies
Subscribers
11 subscribers
Views
2221 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I have record A with some filters and record B without any filter conditions. Wh
kalpanap
over 8 years ago
I have record A with some filters and record B without any filter conditions. When performing an action record A with restriction, after performing the related action it fails the filter condition and appian default message comes stating record is deleted / insufficient privilege.
So after such action, I want to route to the record B after such action instead of appian default error. Any suggestions on how it can be achieved.
OriginalPostID-194141
OriginalPostID-194141
Discussion posts and replies are publicly visible
0
narasimhaadityac
A Score Level 2
over 8 years ago
Hi Kalpana, to best of my knowledge this is not feasible to route to next screen, in order to avoid there is one possible scenario,where we can try activity chaining of the nodes in the process model. break the activity chaining so that the flow will stop and the user will be required to navigate back.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
narasimhaadityac
A Score Level 2
over 8 years ago
kindly read another record* in above comment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kalpanap
over 8 years ago
I have tried breaking the activity chaining as well as route to other UI screen after that, but still the error message is displayed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aksharc
over 8 years ago
It is Appian's default behavior to take user back to the origin when you perform any action. So, when you are in Record and initiated an action from the record, after completion of the action, user will be redirected back to the action of that record.
If you are performing deletion then after completion of the action, the original record might not be present. Hence you get the error.
On thing you can do is have a User Input Task which contains the link of Record B. Place this task before the process ends in the process model. That way, you can force user to click on that link in order to proceed. Also, add a timer exception on that User Input Task so that unnecessary accumulation of processes can be avoided.
I hope this helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 8 years ago
Another idea: Offload the delete action to a sub process and delay it for a minute or so. The the user is routed back to the record without any error. If your record has a status or a isDeleted flag you can show this to the user. This way the user knows that the record is delete but does not have to click any links etc. Related actions should only be shown for not-deleted records.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 8 years ago
This has been discussed before - probably the best option is to present the user a confirmation screen that contains no buttons but does have a dynamic link back to the record list view. Within the process, the user input task that shows the confirmation screen can be skipped using a rule that triggers immediately - that way the process completes, the user can see the screen and has a navigation path back to the record (but they won't ever see an error), and the process can complete successfully.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
kalpanap
over 8 years ago
Thanks all. I have kept the UI task with link. The move to record B is successful, but when the user clicks the link, but when tries to click summary/news/related actions instead of the link the error message is populated again.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
narasimhaadityac
A Score Level 2
over 8 years ago
Hi Kalpana, the options you mentioned are visible OOTB under records and we do not have any control on them.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel