The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent creating Workorders from Workorder entity

SOLVED
Go to solution
Highlighted
Gink
Regular Collector

Prevent creating Workorders from Workorder entity

I want my users only creating Workorders using the Workorder tab in a servicecall.
Sometimes they create a workorder from the Workorder entity resulting the workorder is not related to the servicecall.

Is it possible to prevent users creating Workorders from the Workorder entity, I know I can delete the shortcut in the entity window, but i'm affraid they will add the shortcut again.

I'm on SD 4.5 SP11
3 REPLIES
George M. Meneg
Honored Contributor
Solution

Re: Prevent creating Workorders from Workorder entity

Hello Gink,

Yes, you can do that. Create a workorder ui rule that will be triggered when a new item is created and as condition have "Service Call is empty". As action display a user notification message of "ERROR" type that will notify the users that cannot open stand-alone work orders.

If you use Incidents/Changes and Problems (which also can have multiple work orders) just add these conditions.

EG:

After new item has been opened
where Change is empty
OR Service call is empty
OR Incident is empty
OR Problem is empty
ERROR (User Notification Message)
menes fhtagn
Gink
Regular Collector

Re: Prevent creating Workorders from Workorder entity

Hi George,

Thanks very much for yr quick response.

Rgds
Gink
Regular Collector

Re: Prevent creating Workorders from Workorder entity

Solution given george was fine to me.
//Add this to "OnDomLoad" event