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