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
7 subscribers
Views
2182 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi All, Is there any way I can update the parent process security fro
sunnya527
A Score Level 2
over 7 years ago
Hi All,
Is there any way I can update the parent process security from child process eg: I Have a parent process A and child process B now at runtime I have to update the parent process A security from process B without losing control B.
Is there a way to do this apart from using IFM Manager.
OriginalPostID-217817
OriginalPostID-217817
Discussion posts and replies are publicly visible
0
sparshs
over 7 years ago
there is modify process security smart service for this. Please check that out
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@sunnya Hi, I believe IFM is the only way until and unless I miss something.
And with regards to control, may I know what do you mean? Just in case, if you meant to say that the parent security shouldn't cascade to child, this depends on the configuration made by you on the subprocess node which actually speaks about inheriting security from the parent process. If the setting is already in place but is not desired by you then you may upgrade the processes in such a way that the setting isn't in place and then you may go for updating the security.
@sparsh Just to let you know, Modify Process Security smart service acts in the context of process. That is, it can only influence(directly) the security of a process in which it is present. So I don't believe the smart service pointed by you is going to be an option.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@sunnya If you are working on in-flights, IFM is the best bet as far as my knowledge is considered.
If you are still in the design phase, you may configure a rule event/message in the parent process so that when a message is received or Boolean flag is set(where the communication has to be taken care of and will be made by any process that tends to update the security) the rule event/message should be triggered in the parent process and should set the security in the corresponding process by making use of Modify Process Security smart service.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sparshs
over 7 years ago
@sikhi: Yeah thanks for that. I actually missed that part will answering his question.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sunnya527
A Score Level 2
over 7 years ago
Thanks sikhi and sparsh, I think I need to go with IFM only as I see no other way
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chetany
A Score Level 1
over 7 years ago
Alternative Option# 1:
1. Have a Boolean PV pass by reference between child and parent process.
2. Have a trigger which will run and execute the Modify security smart service in the parent process whenever that Boolean PV is true in Parent Process.
3. In child Process, when the value changes to true, the trigger will run automatically and security of parent will change
Alternative Option# 2:
1. Use Set/Get PV smart service with a Boolean variable.
2. set value of the Boolean PV to true from Child Process using Set PV Smart service
3. For specifying the processId in Set Smart Service, you can simply use pp!id from child process.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Karthik
over 7 years ago
You may pass a message from Child to Parent and Parent process can resume upon receiving the message and alter the parent process security as needed
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
I should add that the alternatives specified in the last two comments (which are mentioned by me at a high level in my last comment) holds good if the use-case is not considering the in-flights. Else IFM is the best fit for in-flights from my perspective.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel