Skip to main content

We are getting below error while creating work order in FSM 6 version.

 

Hi @ERCESEGSIL ,

 

This exception is raised while trying to create a task for the Request \ workorder. 

Baseline policy will ensure a plan start and end date is set in case it is not supplied. 

So from that standpoint the error does not make much sense as baseline should always set a default value. . 

 

The only reason i can think of why such an error would occur is in case there’s a custom policy class defined for table TASK which does not exists or is not deployed. 

In that case FSM will fall back to a generic policy class and therefore the baseline TASK policy will be bypassed. (and therefore also setting the default values for plan start and end.)

Can you verify the Custom Meta Data for table TASK and check if Policy Name or Policy namespace settings are set?

If there’s custom TASK Policy implemented check if the CustomAssemblies has been deployed correctly. 

If there has not been any custom policy implemented for TASK make sure that the fields Policy Name and Policy Namespace are empty in custom meta data. 

 

-Ruben

 


Thanks Ruben..We have refreshed our instance recently so I have to check if all CustomAssemblies are properly updated or not..but in TASK I can see Policy name and namesspace:-

 


Hi @ERCESEGSIL ,

 

OK in that case the CustomAssemblies are not initialized. 

Basically this could have 2 reasons:

  1. Ericsson.BusinessServer.dll is NOT located in iAPP_ROOT]\CustomAssemblies
  2. Application Extension in web.config iAPP_ROOT]\web.config is incorect. 

make sure following config exists in web.config:

    <CustomEntitiesAssembly>Ericsson.BusinessEntities.dll</CustomEntitiesAssembly>
    <!-- Name of the custom Policy assembly -->
    <CustomPoliciesAssembly>Ericsson.BusinessServer.dll</CustomPoliciesAssembly>
    <!-- Namespace of the custom manangers -->
    <CustomManagerNamespace>Ericsson.BusinessServer.BusinessPolicies</CustomManagerNamespace>

 

Let me know if you need any further assistance. 

 

-Ruben


Thanks it was noted that was missing and were asked to restore with latest dump again


You are really an expert it workedfor me and now Im able to createworkorder