- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 03:15 PM
I need to change the state to a request when this has been created, for example when this is created the state is new
if I wanna the change the state to another, How can I do it?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2024 08:13 AM
So you are not using out of the box states? Anyway this is as simple as a before insert business rule on the sc_req_item table as I mentioned previously.
- When In a list of RITM right click on the list header and choose Configure business rule
- Click new next to business rules
- Click advanced checkbox so you can choose before and check the box for insert
- If this is going to happen on all RITMs then leave the conditions blank.
- Go to the actions tab and set the state to what ever you want it to be.
- Save the business rule and you are all set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2024 10:16 AM
Hi @Harold Hoyos ,
If you want this to be applied to all the request globally you can set Default value to the state .
Go to state->right click->configure dictionary->in default value -set to the value of state you want
Please mark this comment as Correct Answer/Helpful if it helped you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 03:35 PM
You can do this via a business rule. It should be a before insert. The first tab should be the conditions which can be left blank if it is for all requests or you can add conditions for specific ones. The second tab you can choose the state and what you want to change it to.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 10:56 PM
I'm trying this bussines rule in my PDI
(I think that it need a "When to run" but I don't know what it's will be)
And it show me this Alert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2024 11:54 PM
Hi @Harold Hoyos ,
Could you please let me know the exact requirement and on which table you are trying to achieve this ?
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2024 06:57 PM
The table is sc_req_item and I need change the state when a request has been created, default is "New", But I want change it to another