Utility - Generate Record Link #70
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Utility - Generate Record Link
Business Problem:
Manually building record links in email notifications is error-prone, especially when handling different portals (Service Portal, Employee Center, Service Operations Workspace). This action provides a universal, validated link.
This is a custom action. It will use a Script Step to build and return a fully qualified URL and an HTML link based on the record's details and the desired interface type.
Input Parameters:
Output Parmeters:
Flow Usage
-Testing
INC001XXXincidentworkspace<a href="https://devxxx.service-now.com/now/sow/record/incident/xxxx" target="_blank">INC001</a>https://devxxx.service-now.com/now/sow/record/incident/xxxINC001XXXincidentplatform<a href="https://xxx.service-now.com/nav_to.do?uri=incident.do?sys_id=xxx" target="_blank">INC001</a>https://devxxx.service-now.com/nav_to.do?uri=incident.do?sys_id=xxxINC001XXXincidentportal<a href="https://devxxx.service-now.com/sp?sys_id=xxx&view=sp&id=ticket&table=incident" target="_blank">INC001</a>https://devxx.service-now.com/sp?sys_id=xxx&view=sp&id=ticket&table=incident