Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Cannot set a target when trying to create a work flow for setwordtemplate

Posted on by 10

Good morning all, 

I am trying to auto generate a word template for my work order entity using workflow. The action i used is setwordtemplate. Please see attached for the workflow i created. For some reason, for the target I cannot find (work order(work order)) I can only find (parent work order(work order)). I believe it leads to the malfunction of my work flow, can anyone please advise where I could have made a mistake. For the work order entity, business process flow is set to yes and for other entities such as invoice, there was no problem with setting the target (invoice(invoice)).

Thank you guys I appreciate your help,

Screenshot-2022_2D00_03_2D00_08-111814.pngScreenshot-2022_2D00_03_2D00_08-111910.png

  • Grandcheese Profile Picture
    Grandcheese 15 on at
    RE: Cannot set a target when trying to create a work flow for setwordtemplate

    thanks so much it worked!

  • Grandcheese Profile Picture
    Grandcheese 15 on at
    RE: Cannot set a target when trying to create a work flow for setwordtemplate

    Thank so much it worked

  • Verified answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: Cannot set a target when trying to create a work flow for setwordtemplate

    Hi,

    You can try to adjust the property with the WO Number in Work Order.

    pastedimage1646896735264v1.png

    It is actually the GUID of the Work Order. (Ref: msdyn_workorder EntityType (Microsoft.Dynamics.CRM) | Microsoft Docs)

    pastedimage1646896827297v2.png

    In Invoice entity you have exemplified, the corresponding field is named Invoice. (Ref: invoice EntityType (Microsoft.Dynamics.CRM) | Microsoft Docs)

    pastedimage1646896905065v3.png

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Cannot set a target when trying to create a work flow for setwordtemplate

    HI,

    make sure you have notes enabled for the entity.

    nishantrana.me/.../

    Select WO Number from left hand dropdown.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Work it out Profile Picture
    Work it out 10 on at
    RE: Cannot set a target when trying to create a work flow for setwordtemplate

    Thanks

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans