I am trying to create the triggers but when creating "entering a status" below indicated with an arrow, the status do not appear, what should I do? How can I create them, I've tried to search everywhere, but I can't find anything specific, the information is very confusing for me, I'm learning.
Thanks for answering, and I apologize for the problems it may cause, I just wanted to know how I could customize the states, I can't configure the triggers without it and finish configuring iTop.
Thank you and a thousand apologies.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure, what I was referring to is that to create a trigger that is (OnStateEnter) you necessarily need a state which is where I have pointed to in the screenshot, watching tutorials on Youtube I see that when they are creating the trigger they can select the state but I can't , nothing comes out to select, what I wanted to know is how I can solve this problem, I mean status for example: New, approved, waiting for approval, rejected, closed, pending, do you know what I mean?
I want to make triggers for when the request is resolved, when it is rejected, more or less that.
Thanks for answering,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jose. It's a trigger which can be used on classes which have a life cycle (basically the type of buttons you mention: assign, wait for approval, reject, ... / states such as new, approved, ...).
In your screenshot, the class was - I believe - "Customer Contract". A customer contract does not have states, so indeed the list is empty as you cannot use this trigger for this class (unless you start modifying it).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This trigger can only be used on a class with a lifecycle so states. The selected class, which I suppose to be an "iTop user" has no lifecycle, so no states are available. There is no solution for this particular class to add a lifecycle but you can use a TroggerOnObjectUpdate on field status and get about the same result.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I am trying to create the triggers but when creating "entering a status" below indicated with an arrow, the status do not appear, what should I do? How can I create them, I've tried to search everywhere, but I can't find anything specific, the information is very confusing for me, I'm learning.
Thank you so much.
Last edit: Jose Cedeño 2023-07-24
Please, if anyone has a solution I would be grateful.
Please mind that Combodo only monitors this board, and responds when they have time (unless you're a customer). Same for other people like me :)
This is for "Customer Contract", right? That class does not have states (unless you customized it).
Thanks for answering, and I apologize for the problems it may cause, I just wanted to know how I could customize the states, I can't configure the triggers without it and finish configuring iTop.
Thank you and a thousand apologies.
Can you be more specific about what exactly you want to accomplish with the trigger?
Good morning Jeffrey,
Sure, what I was referring to is that to create a trigger that is (OnStateEnter) you necessarily need a state which is where I have pointed to in the screenshot, watching tutorials on Youtube I see that when they are creating the trigger they can select the state but I can't , nothing comes out to select, what I wanted to know is how I can solve this problem, I mean status for example: New, approved, waiting for approval, rejected, closed, pending, do you know what I mean?
I want to make triggers for when the request is resolved, when it is rejected, more or less that.
Thanks for answering,
Hi Jose. It's a trigger which can be used on classes which have a life cycle (basically the type of buttons you mention: assign, wait for approval, reject, ... / states such as new, approved, ...).
In your screenshot, the class was - I believe - "Customer Contract". A customer contract does not have states, so indeed the list is empty as you cannot use this trigger for this class (unless you start modifying it).
Yeah well, that was an example, this is what actually happens.
Aaaaaah, I understand, not everyone has status, i got it.
It was my mistake, i selected wrong.
Thank you very much Jeffrey you are a genius!
This trigger can only be used on a class with a lifecycle so states. The selected class, which I suppose to be an "iTop user" has no lifecycle, so no states are available. There is no solution for this particular class to add a lifecycle but you can use a TroggerOnObjectUpdate on field status and get about the same result.
I understand, not all of them have a status, I understood, it was my mistake, I selected wrong.
Thank you so much!