on ‎2020 Oct 22 1:10 PM
Dear Team,
i embedded my own component in one of standard screen. i bound necessary parameters from standard screen to my screen. configured in port to trigger one event handler which in in turn trigger my action.
this action keeps triggering if do any activity on the screen. however i want this action to be triggered only when it loaded first time
Is there any way to achieve this ?
Request clarification before answering.
somehow this is not working. first of all, system is triggering that action 3 times atleast. i am setting this transient variable on review page of move in GAF and in the action fired by inport of embedded component. when i navigated to 3step and come back to review page, it is holding the value still.
1. does embedded inport triggers the action more than once always when we navigate to it from other screen?
2. nto sure why transient variable is holding the value when it supposed to lose its value when goto step3 and come back to step4. is this because i am on GAF. Please help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since you are using GAF hence it might be causing the issue. In general, the transient variable holds the value for an active transaction i.e. either transaction is active or canceled. Hence I think in the case of GAF system might be considering the whole GAF process (including sub-steps) as a single transaction hence values are shared between different steps.
Thanks Saurabh. will check this and update.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Yes, it should be possible. Using a transient field. it should be possible to control this. You need to set this transient field to TRUE when the action is executed for the first time and then wrap your action logic within a check for this transient field so that the next time logic won't trigger. Something like this:
// Check transient field
if(this.ZtransTemp.isInitial())
{
// Do some business logic
}
else
{
return
}Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.