Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Data Task automation

(0) ShareShare
ReportReport
Posted on by 362

Hi All,

I have loaded the custom manifest file from file system and when i have clicked on Run Tasks, it is not running. Could you please help me out in knowing the possible issues which i can cross check.

Regards

Venkat

  • Suggested answer
    RE: Data Task automation

    The parameters in the DTA file need to be in the exact location as per the docs. the sample files may be misleading. For example here is the xml file I used for importing Reason Codes. You can try the same by exporting reason codes entity in your environment and download the zip file. rename it to DemoReasonCodes.zip and upload to LCS.

    then use DTA to download and create a port to import the file using:-

    <?xml version='1.0' encoding='UTF-8'?>
    <TestManifest name='Data management Reason Codes set up'>
    <SharedSetup>
    <DataFile ID="DemoReasonCodes" name="DemoReasonCodes" assetType="Data package" lcsProjectId="1300442"/>

    <JobDefinition ID='ImportJobDefinition_1'>
    <Operation>Import</Operation>
    <SkipStaging>No</SkipStaging>
    <Truncate>No</Truncate>
    <Mode>Import async</Mode>
    <ConfigurationOnly>No</ConfigurationOnly>
    <LegalEntity>USMF</LegalEntity>
    </JobDefinition>

    <EntitySetup ID='Generic'>
    <Entity name='*'>
    <SourceDataFormatName>Package</SourceDataFormatName>
    <DefaultRefreshType>Full push only</DefaultRefreshType>
    <SelectFields>All fields</SelectFields>
    </Entity>
    </EntitySetup>
    </SharedSetup>

    <TestGroup name='Set up DemoReasonCodes'>
    <TestCase Title='Import DemoReasonCodes from LCS' ID='3935002' TimeOut='30' TraceParser='off' RepeatCount='1'>
    <DataFile RefID='DemoReasonCodes'/>
    <JobDefinition RefID='ImportJobDefinition_1'>
    <LegalEntity>USMF</LegalEntity>
    </JobDefinition>
    <EntitySetup RefID='Generic'/>
    </TestCase>
    </TestGroup>
    </TestManifest>

    Note: change the LCS project Id to yours and other values, but don't change the order of the attributes.

  • Venkatdax0 Profile Picture
    Venkatdax0 362 on at
    RE: Data Task automation

    Hi All,

    I just executed it again and it got completed and with failed status. But not able to find the root cause. Could you please help me in knowing the steps to troubleshoot the issue.

    Regards

    Venkat

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,861 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,540 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans