Skip to main content

Notifications

Dynamics 365 general forum
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,054 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,962 Moderator 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans