web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Avoid creation of entity if some condition is not met

(0) ShareShare
ReportReport
Posted on by 836

Hi there,

When Incident type get created on work order, service tasks get populated by default. I want to check some condition and if that condition is not met i want to avoid creation of Service task. Is it possible? Please help.

Thank you

  • Suggested answer
    Thomas David Dayman Profile Picture
    11,323 on at

    You can create a Workflow or Flow on create of Work Order Service Task then add your condition and either delete or deactivate the serivce task

  • Ravi Fulani Profile Picture
    836 on at

    Actually I want to stop it from being create. Is there any idea to do that?

  • Suggested answer
    RakeshJ Profile Picture
    Microsoft Employee on at

    Hi Ravi,

    Unfortunately, it is not possible to stop it from being created as that is being pulled using OOTB logic. The efficient solution to this is what shared by Thomas above i.e. to have a workflow or flow to clear the value once its populated. This why you will not be breaking the OOTB configuration.

    Regards,

    Rakesh

  • Thomas David Dayman Profile Picture
    11,323 on at

    Or rather than using Incident Types you could manually create the Service Tasks in code based on your conditions. It would be a little more complicated but it should acheive your requirement

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 42

#2
11manish Profile Picture

11manish 19 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 19

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans