Skip to main content
Solved

Error while creating Work order in FSM


Forum|alt.badge.img+2

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

 

Best answer by ruben.maas

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 [APP_ROOT]\CustomAssemblies
  2. Application Extension in web.config [APP_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

View original
This topic has been closed for comments

5 replies

Forum|alt.badge.img+13
  • Hero (Employee)
  • 124 replies
  • March 15, 2021

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

 


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 5 replies
  • March 15, 2021

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:-

 


Forum|alt.badge.img+13
  • Hero (Employee)
  • 124 replies
  • Answer
  • March 15, 2021

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 [APP_ROOT]\CustomAssemblies
  2. Application Extension in web.config [APP_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


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 5 replies
  • March 18, 2021

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


Forum|alt.badge.img+2
  • Author
  • Do Gooder (Customer)
  • 5 replies
  • March 18, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings