Skip to main content
priyas0007
July 7, 2021
Solved

Record Type: How to get record URL?

  • July 7, 2021
  • 5 replies
  • 0 views

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!

Best answer by namratak0001

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
July 7, 2021

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

madhusudans0001
July 8, 2021

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
July 8, 2021

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
July 8, 2021

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
July 8, 2021

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