Answered
How to get local file path of uploaded file
Hello, Guys!
I'm new to Bizagi, but what I'm trying to do is to get the local file path from the uploaded file. In one of my entities I have a field which is type File. I found a way to get the file name in a business rule and also I know the folder where Bizagi saves the files after upload. But for each case it creates new folder, where it saves the files. Is read the documentation about obtaining file path, but I don't know how to get the SurrogateKeyValue. (http://help.bizagi.com/bpm-suite/en/index.html?how_to_obtain_the_path_of_a_bi.htm)
Can you please help me with that? Is it possible to get the file path at all? Thank you in advance I will really appreciate your help!
Best regards,
Albena Mincheva.
Dear User,
Regarding this: "This is dynamic information, therefore you can know this information in runtime, as each process' case will have a different SurrogateKey.", the SurrogateKey is the same as CaseNumer.
To obtain the Case Number - Me.Case.CaseNumber , follow this article: http://help.bizagi.com/bpm-suite/en/index.html?get_information_of_the_current_case.htm
If we follow this example:
Assuming the upload path is configured in Bizagi Studio for this project as: C:\BizAgi\Projects\Project01\Docs\.
Then the whole path to access this file would be: C:\BizAgi\Projects\Project01\Docs\10043\0\205\10010\.
Regards
Comments have been locked on this page!