Data Loading Issue

wkt85768776

12-11-2018

Hello,

I have an issue with the Data loading in a workflow.

Each time i try to open it i have a lot of errors popping-up.

subir2.PNGsubir.PNGsubir5.PNGsubir4.PNGsubir3.PNG

Does someone have an idea on how to solve it? its very urgent please.

@Vipul Raghav

Amit Kumar

Adhiyan

Answers (4)

Answers (4)

Adhiyan

Employee

12-11-2018

Hi ,

Can you check the schema nms:workflow and see if you have the definition of the fileImport element exactly as it is below :

<!--[of]:fileImport-->

  <element img="nms:activities/fileImport.png" label="Data loading (file)" name="fileImport"

          template="xtk:workflow:activity">

    <attribute default="'nms:activities/fileImport.png'" name="img"/>

    <attribute default="true" name="runOnSimulation"/>

    <attribute default="true" label="Unique execution" name="runOnce" type="boolean"/>

  <!--File format-->

    <element name="source" ref="nms:group:group/source"/>

    <attribute enum="xtk:workflow:extFileSourceType" label="Source selection" name="importType"

              type="byte"/>

    <attribute default="true" label="Use a line number as identifier" name="collectLineNumber"

              type="boolean"/>

    <attribute default="100" desc="Maximum number of erroneous lines before timeout"

              label="Maximum number of errors" name="maxErrorCount" type="long"/>

    <attribute label="File Name" name="file" type="string"/>

    <attribute label="Preprocessing command" name="preproc" type="string"/>

    <attribute label="Md5 of the file in case of download" name="md5" type="string"/>

  <!-- ext account -->

    <element label="Data source" name="dataSource" target="nms:extAccount" type="link"/>

    <element label="Cloud access" name="fileConnection" target="nms:extAccount" type="link"/>

This element might be missing from your schema.

To regenerate the schema in case it's missing , please delete it from the instance (after taking a backup) and then run a postupgrade -force to get the schema back from the DB.

Regards,
Adhiyan

wkt85768776

12-11-2018

Can i try to modify the xtk:workflow schema without problems?

Does i will have any conflict with other schemas?

Does the problem is in the forms?