You are viewing limited content. For full access, please sign in.

Question

Question

Can't download or copy a business process

asked on June 26, 2024

Laserfiche Forms Professional Version 10.4.5.324
when ever I try to download or copy a certain business process I get the below error noting that

- I downloaded it multiple times before 
- no validation issue with the process and no special chars in it's name or it's forms names
the error
 

An unexpected error has occurred. [LFF502-UnexpectedError]

Details:
URL: /Forms/Handlers/BusinessProcessExport.ashx?BusinessProcessId=9&IncludeBP=true
Error: UnexpectedError
Date: 6/26/2024 10:15:38 AM (Egypt Standard Time)
HTTP Status Code: 500
Business Process ID: 0
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.0 Safari/537.36
Business Process Name: 

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An unexpected error has occurred. [LFF502-UnexpectedError]


Inner exception: System.ArgumentNullException
Message: Value cannot be null.
Parameter name: value
   at System.Enum.EnumResult.SetFailure(ParseFailureKind failure, String failureParameter)
   at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
   at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
   at Laserfiche.Forms.EntityModels.attributes_grouping_key.GetAttributeType()
   at Laserfiche.Forms.Api.DataContract.SubViewProfile.ConvertColumnParameters()
   at Laserfiche.Forms.Api.DataContract.ViewProfile.ConvertDBSubViewToSingleSubViewProfile(report_subview dbSubView, Boolean withIndividualAgk)
   at Laserfiche.Forms.Api.DataContract.ViewProfile.GetSubViewProfiles(Boolean withIndividualAgk)
   at Laserfiche.Forms.Api.DataContract.ViewProfile.InnerGetDataFromDb(cf_view_profile_by_bp viewProfile, Nullable`1 subViewId, Boolean getAll, Boolean withIndividualAgk)
   at Laserfiche.Forms.Api.DataContract.ViewProfile.GetDataFromDb(cf_view_profile_by_bp viewProfile, Nullable`1 subViewId, Boolean getAll, Boolean withIndividualAgk)
   at Laserfiche.Forms.Api.DataContract.Process.GetAllDataFromDb(cf_bp_processes cf_p, String[] elementsSelected, Boolean PopulateInternal, List`1 CollectionofSteps, Boolean hasCredential, HashSet`1 NeededTeams, HashSet`1 NeededBusinessRules, Boolean NeedReportsAndForms)
   at Laserfiche.Forms.Api.DataContract.Process.GetDataFromDb(cf_bp_processes cf_p, Boolean IncludeSteps, List`1 CollectionofSteps, Boolean hasCredential, HashSet`1 NeededTeams, HashSet`1 NeededBusinessRules, Boolean NeedReportsAndForms)
   at Laserfiche.Forms.Api.DataContract.Process.GetDataFromDb(Int32 p_id, Boolean IncludeSteps, List`1 CollectionofSteps, Boolean hasCredential, HashSet`1 NeededTeams, HashSet`1 NeededBusinessRules, Boolean NeedReportsAndForms)
   at Laserfiche.Forms.Api.DataContract.BusinessProcess.GetAllDataFromDb(cf_business_processes cf_bp, String[] elementsSelected, Boolean IncludeProcesses, Dictionary`2 CollectionofProcesses, Boolean hasCredential, Boolean NeedReportsAndForms)
   at Laserfiche.Forms.Api.DataContract.BusinessProcess.GetDataFromDb(cf_business_processes cf_bp, Boolean IncludeProcesses, Dictionary`2 CollectionofProcesses, Boolean hasCredential, Boolean NeedReportsAndForms)
   at Laserfiche.Forms.Api.DataContract.BusinessProcess.GetDataFromDb(Int32 bp_id, Boolean IncludeProcesses, Dictionary`2 CollectionofProcesses, Boolean hasCredential, Boolean NeedReportsAndForms)
   at E_Forms.Handlers.BusinessProcessExport.ProcessRequest(HttpContext context)

0 0

Replies

replied on July 1, 2024

Hi Ahmed, 

This seems related to corrupted variable in the business process. If issue persists, could you open up support case for further investigation?

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.