Skip to main content
priyas0007
Known Participant
Jul 7, 2021 9:20 PM UTC
Solved

Record Type: How to get record URL?

I have a record for cases I have been creating in my app.On record grid when I click on caseIds a process model is invoked and flow is taken further.I want to create for url for different records based on user need.

For general records with summary view I am aware of the steps.How do I create for this scenario where I dont have summary view/related actions;just record grid with each id invoking new process.

Early response is appreciated thanks!

namratak0001
Inspiring
Jul 8, 2021 12:28 PM UTC

Hi @priyas007, Please use STart process link to start a process model when user click on link.

https://docs.appian.com/suite/help/21.2/Start_Process_Link_Component.html 

5 replies

priyas0007
Known Participant
Jul 7, 2021 9:31 PM UTC

Just to add on, I have parameters as well to be sent to PM getting invoked

madhusudans0001
Participating Frequently
Jul 8, 2021 11:45 AM UTC

Hi [mention:cab0a11ff023462b92619f3a6137ae4a:e9ed411860ed4f2ba0265705b8793d05], as far as I understand your use case, you have a grid with a list of ids and you want to click on any of the id which will start a process along with some parameters. If my understanding is correct, you can utilize the following code to create links (however, it is not a best practice):

local!processLink: a!startProcessLink(
	processModel: cons!PROCESS_MODEL,
	processParameters: {
		key1: "param1",
		key2: "param2"
	}
)

local!link: a!safeLink(
	uri: cons!BASE_SITE_URL &
	"/start-process/" & index(local!processLink, "processModelOpaqueId", "") & "?parameters=" & index(local!processLink, "cacheKey", "")
)

If this doesn't help, could you please elaborate more about your requirement?

priyas0007
Known Participant
Jul 8, 2021 1:27 PM UTC

Thanks Madhusudan!You understood it correctly.I was looking more for direct usage than local variable.Though your solution works as well.

But solution by [mention:33aa1c2b02db47c8a3ebf02f294ad101:e9ed411860ed4f2ba0265705b8793d05] is more simpler and direct to use.

namratak0001
Inspiring
Jul 8, 2021 12:28 PM UTC

Hi @priyas007, Please use STart process link to start a process model when user click on link.

https://docs.appian.com/suite/help/21.2/Start_Process_Link_Component.html 

priyas0007
Known Participant
Jul 8, 2021 1:23 PM UTC

[mention:33aa1c2b02db47c8a3ebf02f294ad101:e9ed411860ed4f2ba0265705b8793d05] Thanks a ton! [emoticon:c4563cd7d5574777a71c318021cbbcc8].This worked!