cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dynamic link to created or converted opportunity

0 Likes
1,126

Hello,

We would like to implement a workflow: when a lead is converted to opportunity or opportunity is created, our employee get an email containing the link to this opportunity (created or converted). We tried predetermining URLs for direct navigation, but the internal ID for opportunity are random, not static.

Is it possible to add a dynamic link to created or converted opportunity in the email? How can we get the URL? Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member226
Employee
Employee
0 Likes

Hello,

Yes, it is possible to add a dynamic link to an email for a newly created opportunity. In order to do so, you can inject a generic URL in your email template like:

https://my30XXXX.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENE...

Here "#OPPID#" is a placeholder which will be automatically filled by C4C with generated opportunity ID(Hence dynamic link) at run time after mapping it in workflow steps as follow:

For more details about how to use deep links in C4C with workflow please check the following blogs:

https://blogs.sap.com/2019/01/07/how-to-construct-a-deep-link-url-for-c4c-business-objects-using-bus...

https://www.acorel.nl/2016/08/sap-hybris-cloud-for-customer-deep-link-url-navigation/

Answers (1)

Answers (1)

VishnAndr
Active Contributor
0 Likes

Hi Alena,

ID of opportunity is just another attribute of opportunity. In the workflow action 'send email' you need to define a placeholder representing this attribute and then use this placeholder to compose the url.