Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Workflow is not being triggered on csv data import

(0) ShareShare
ReportReport
Posted on by 59

Hi,

When creating a connection entity ,i trigger a workflow on create.It works fine when I manuely create the entity but when i try to create the same entity with csv import the workflow does not trigger.I could not figure out why this could be.The workflow is set to Organization level and works on if entity is created or a specific field is updated.And "run this workflow in the background" is also checked.

Thanks for the advice.

*This post is locked for comments

  • Eomer Al. Profile Picture
    59 on at
    RE: Workflow is not being triggered on csv data import

    Thanks for the information Wei Jie Fun.

  • Alex Fun Wei Jie Profile Picture
    33,626 on at
    RE: Workflow is not being triggered on csv data import

    Hi,

    mark you post as verified, dont have to delete.

  • Verified answer
    Eomer Al. Profile Picture
    59 on at
    RE: Workflow is not being triggered on csv data import

    Sorry i couldnt find how to delete a post.I figured it out finally.I rechecked the code and unfortunately there was a code block if context.dept>1 then return which causes that problem.Because when you import data from csv the context becomes >1 .i deleted it now it works fine.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans