Publish Single Entity To Server
  • 29 Dec 2022
  • 1 Minute to read
  • Dark
    Light

Publish Single Entity To Server

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationSystem > Advanced > Import - Export

The Publish Single Entity To Server step publishes an entity to the specified server.



Properties

Inputs

PropertyDescriptionData Type
Confirm Configuration

Allows the user to determine if the configurations are valid

Boolean
Entity IdId of the entity to publishString
Instance NameName of the instanceString
PasswordThe password of the current userString
Server AddressAddress of the server to publish entity toString
User IdId of the userString


Common Errors

Value cannot be null (Parameter 'entityId')

If the value for the Entity Id is null, an error will occur.

To correct this, ensure that the correct value for the field is entered. 

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Publish Single Entity To Server 1[PublishSingleEntityToServer] in flow [Flow 6]: Exception invoking method PublishSingleEntityToServer on class ImportExportSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method PublishSingleEntityToServer on class ImportExportSteps
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'entityID'
 at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportService.ExportEntityToServer(AbstractUserContext userContext, String entityID, Boolean includeSubEntities, String moduleName, Boolean requiresApproval, Boolean changedEntitiesOnly
 at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.ExportSingleObject(String entityId
 at DecisionsFramework.ServiceLayer.Services.ImportExport.ImportExportSteps.PublishSingleEntityToServer(String entityId, String serverAddress, String instanceName, String userId, String password, Boolean confirmConfiguration)
   --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --- End of inner exception stack trace ---



Was this article helpful?