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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Record URL(Dynamic) creates wrong url of the task

(0) ShareShare
ReportReport
Posted on by 20

Hello,

I created a workflow which should send an email automatically to the owner of the task, when a new task record is created or assigned to the new owner.

The workflow itself is working, but the direct url of the task is somehow wrong.

The 'Record URL(Dynamic)' creates this sort of a link:

crmserver01:80/crmserver01/main.aspx?etc......

But the direct url of our CRM is: crmserver01.domain.com/crmserver01

When I copy the part of the generated URL "main.aspx?etc..." into the working direct url, I will directed to the record of the created task.

Basically this manually adjusted url is working:

crmserver01.domain.com/.../main.aspx

I made a custom url field, which the Record URL(Dynamic) should be generated there and for the email I placed the custom url field.

Any advice how do I fix this? Many thanks!

I have the same question (0)
  • Suggested answer
    ajyendra Profile Picture
    1,738 on at

    Hi,

    Can you show Hyperlink and WorkFlow settings

    As my Hyperlink format is like

    <hyperlink><name>Click here</name><value>{Record URL(Dynamic)(Create (Email))}</value></hyperlink>

    Compare with this . Is that same as mine

  • David Choi Profile Picture
    20 on at

    Hi,

    thank you for your response,

    my hyperlink in the workflow process looks like this;

    <hyperlink><name>Click click here</name><value>{Record URL(Dynamic)(Task)}</value></hyperlink>

    The workflow works and generates the link, but the prefix of the link is wrong and not working as mentioned.

    instead of crmserver01.domain.com, it only generates the crmserver01/crmserver01/main.aspx..... with the wrong prefix url.

    If I replace the crmserver01 with the correct domain url, the generated url will direct me correctly to the created task record.

    My workflow looks like this

    - Update Custom Record URL field

    -- update from "Record URL(Dynamic)(Task)"

    - Wait until Task:Custom Record URL contains data then

    -- Send email ntoficiation when a task has a owner

    --- with the hyperlink code above

  • ajyendra Profile Picture
    1,738 on at

    Which crm version you are using?

  • David Choi Profile Picture
    20 on at

    Version 1612 (8.2.1.176) (DB 8.2.1.176) on-premises

  • erhan.keskin Profile Picture
    2,253 on at

    Is this discussion related to yours?

    community.dynamics.com/.../745859

  • erhan.keskin Profile Picture
    2,253 on at

    Is this discussion related to yours?

    community.dynamics.com/.../745859

  • David Choi Profile Picture
    20 on at

    Hi Erhan,

    it sounds similiar, but I don't think it's the same issue. My code for the hyperlink almost look the same.

    I tried both codes:

    <hyperlink><name>Please click here</name><value> {Record URL(Task)}</value></hyperlink>

    and


    <hyperlink><name>{Subject(Task)}</name><value>{Record URL(Dynamic)(Task)}</value></hyperlink>

    Both give me the not working url "crmserver01:80/crmserver01/main.aspx...."

    It would work when the CRM generates the url "crmserver01.domain.com/crmserver01/main.aspx...", but it doesn't.

  • erhan.keskin Profile Picture
    2,253 on at

    Thanks David. Not sure if i understand what you are doing there.

    Let me tell what i did and saw;

    - I added a hyperlink by clicking "Insert Hyperlink" button

    - Typed the text in the "Text to display" box

    - Provided the URL in the "URL" box by selecting "Record URL(Dynamic)" option on the right pane

    - It showed the text like this;

    <hyperlink><name>[name i typed]</name><value>{[name i typed]Task-{Record URL(Dynamic)}}</value></hyperlink>

    Regards,

  • David Choi Profile Picture
    20 on at

    Yes, this is what I exactly did.

    Some how the CRM url is not right. I don't know why.

    In the browser while I'm in the crm, it says "crmserver01.domain.com". I can connect to the crm with the same url.

    But the crm generates the url "crmserver01:80/...." for the direct record.

    Maybe because of wrong configuration of the crm url, I don't know where to check and can't find the setting for it.

  • erhan.keskin Profile Picture
    2,253 on at

    But you say "I made a custom url field, which the Record URL(Dynamic) should be generated there and for the email I placed the custom url field."

    Why wouldn't you insert an Hyperlink as i described above? Populating the link into a field and using the field to generate an hyperlink may cause it?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 81 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans