I'm having trouble when to call a procedure that runs a submit job to different entity. The problem is I need it to run when the user is FINISHED with the stepper but I need to access attributes in the last step. I don't want it to run if the user navigates back to a previous step. I hope I'm missing something. On exit will run if I click the BACK navigation. Any guidance is appreciated.
Matt
Best Answer
M
Matthew AMMONS
said
6 months ago
I found a work around with setting flags and indicators. Feels like a missing trigger! The user has clicked FINISHED but need access to the attribures.
The problem is that the FINISH is not available at the step level.
That's a problem because I need access to the attributes in the entity to pass as parameters to the procedure. Attributes aren't available at this level.
Is there another way to get to the values I need with the FINISH event?
A
Alexia SIMOND
said
6 months ago
No, only variables indeed.
For which action is this? Creation, update, import?
M
Matthew AMMONS
said
6 months ago
I'm needing to update values in a separate entity
M
Matthew AMMONS
said
6 months ago
Alexia, After rereading you question I realized what you are asking. This is a can be either a creation or an edit action. I'm needing to update a separate entity with some of the data.
A
Alexia SIMOND
said
6 months ago
Ok, so we can't use the dedicated actions collection triggers.
I'm out of ideas, would you be interested in me forwarding this to our Professional Services team.
They are much better equipped to handle those implementation questions.
M
Matthew AMMONS
said
6 months ago
Answer
I found a work around with setting flags and indicators. Feels like a missing trigger! The user has clicked FINISHED but need access to the attribures.
A
Alexia SIMOND
said
6 months ago
Hello Matthew,
Glad to hear that you made it work.
I understand your point but let me explain why it is complex to do so.
The "on finish" context needs to take into consideration all the steps that were previously processed.
It is not only based on the latest step but all the ones that came before.
And as such, as steppers are capable of handling many steps based on many entities, it would be complex to generate all of them through the semql concept.
What would be the starting point of the model shown in the semql view of your available attributes?
The "on finish" is such a consolidated view, that only general (or custom) checks can be performed.
Matthew AMMONS
I'm having trouble when to call a procedure that runs a submit job to different entity. The problem is I need it to run when the user is FINISHED with the stepper but I need to access attributes in the last step. I don't want it to run if the user navigates back to a previous step. I hope I'm missing something. On exit will run if I click the BACK navigation. Any guidance is appreciated.
Matt
I found a work around with setting flags and indicators. Feels like a missing trigger! The user has clicked FINISHED but need access to the attribures.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstAlexia SIMOND
Hello Matthew,
Why not on stepper finish?
I'm leaving here the section of the documentation that is detailing all the options:
https://www.semarchy.com/doc/semarchy-xdm/xdm/latest/Design/applications/stepper-triggers.html#_stepper_events
Matthew AMMONS
The problem is that the FINISH is not available at the step level.
That's a problem because I need access to the attributes in the entity to pass as parameters to the procedure. Attributes aren't available at this level.
Is there another way to get to the values I need with the FINISH event?
Alexia SIMOND
No, only variables indeed.
For which action is this? Creation, update, import?
Matthew AMMONS
I'm needing to update values in a separate entity
Matthew AMMONS
Alexia, After rereading you question I realized what you are asking. This is a can be either a creation or an edit action. I'm needing to update a separate entity with some of the data.
Alexia SIMOND
Ok, so we can't use the dedicated actions collection triggers.
I'm out of ideas, would you be interested in me forwarding this to our Professional Services team.
They are much better equipped to handle those implementation questions.
Matthew AMMONS
I found a work around with setting flags and indicators. Feels like a missing trigger! The user has clicked FINISHED but need access to the attribures.
Alexia SIMOND
Hello Matthew,
Glad to hear that you made it work.
I understand your point but let me explain why it is complex to do so.
The "on finish" context needs to take into consideration all the steps that were previously processed.
It is not only based on the latest step but all the ones that came before.
And as such, as steppers are capable of handling many steps based on many entities, it would be complex to generate all of them through the semql concept.
What would be the starting point of the model shown in the semql view of your available attributes?
The "on finish" is such a consolidated view, that only general (or custom) checks can be performed.
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 346 topics