+ Start a Discussion

how to find current case ID : scenario is I want to update field valuie by clicking button and I am using flow in lightning for that .Now I want current case ID on which user is working or can say current case id.So can I get it in formula.

Deepali KulshresthaDeepali Kulshrestha
Hi Sweta,
First, create a Flow Variable linked to an SObject.  You do this by selecting the SObject variable from the Default Value 

selection box.  Data type as Text and Input/Output Type as Input and Output.

Then  the URL on the custom button will look like: /flow/Get_Inquiry?InquiryID={!Inquiry__c.Id}

And also If you create a flow action, and make sure your flow has a text input named "recordId", the starting record Id 

will be picked up automatically. 
Please refer to the following link as it may be helpful in solving your problem:


I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha