Use Flow in List View #inSalesforce

Use Flow in List View #inSalesforce


Create auto-launched flow


Get:

getCases, Object: Case

Criteria: Id in Create variable - ids,text,i/p checked

Status not equals closed

All record, automatically..


Decision:

nullCheck

NotNull:

Criteria: getCases isnull false *

Null: ENd


*Loop:

loopThroughCases

Collection: getCases


Assignment:

update the case status

getCases.status equals closed


Assignment:

new variable: Collector

Record(Allow Multiple)

Object: Case

Add getCases


Update:

Collection equals Collector


Save and test


Copy the URL of the flow to use in the action


Case | New button or Link | Close Case | List Button(display checkbox..) | Put the flow URL (append ?retUrl=/500[forCase]fcf=[list view id/where you want to return] and save 


List View Button Layout | Add the button 


Test the functionality


Comments