AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Generic I...
Generic Inquiry int...
 
Notifications
Clear all

Questions Generic Inquiry into Business Event to monitor Import Scenarios

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Paul Lambert 2 months ago
4 Posts
4 Users
0 Reactions
1,802 Views
RSS
Stewart Williams
Posts: 9
 Stewart Williams
Topic starter
May 4, 2022 3:15 am
(@stewart-williams)
Active Member
Joined: 4 years ago

Hi Everyone,

I have 5 Import Scenarios that run to compile customer invoices from different sources. This is all working perfectly, however I have the imports running on schedules so they trigger one after the other in order (there is about 15 minutes separation). I was thinking, is there a generic inquiry that can pull out Import Scenario status, so I can attach this to a Business Event, to fire off the subsequent Import Scenarios?

So a BA to monitor Import Scenario 1, once it changes from Processing? to Complete? it then triggers Import Scenario 2, and so on. This way if one of the imports blows out in time, it won't break the subsequent imports, or waste time waiting for a schedule when it could be processing.

Or if someone has different approach to triggering Import Scenarios, I'm all ears. To save anyone asking, yes the 5 imports are required. No, I don't believe there would be anyway to condense them into 1 Import Scenario. Yes I'm happy with the process as it works well.

Cheers!


3 Replies
Brett Pickles
Posts: 2
 Brett Pickles
November 9, 2022 5:26 pm
(@bpickles)
New Member
Joined: 3 years ago

Hi @stewart-williams 

Any progress on this? 

We have something similar importing files from an FTP site, then shortly after running the Import Scenario to load the data from those files.
I was looking for a business event that could monitor the Import Scenario log for an error and trigger a notification.


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
August 9, 2023 5:20 am
(@timrodman)
Famed Member
Joined: 10 years ago

This is a brilliant idea! I've never tried using a Generic Inquiry to "daisy chain" Import Scenarios together, but that would be really cool if someone could figure it out. Business Events seem like a "light workflow engine", but this idea would make them more like a "workflow engine" if you could pull it off.


Reply
Paul Lambert
Posts: 6
 Paul Lambert
September 9, 2025 12:27 pm
(@plambert)
Active Member
Joined: 8 months ago

An idea I've been brainstorming and haven't yet tested is making a BE subscriber scenario that works on the Import By Scenario screen. All this workflow scenario would do is navigate to a specified scenario and take the <Prepare & Import> action. The BE itself would be triggered by a GI of PX.SM.UploadFileRevision which is looking for new versions of the data source file so as to trigger the related imports. What I don't know is, if you had multiple workflow scenarios, if they would wait for the triggered Import By Scenario to finish before moving on to start the next one.

Business Event subscribers execute in order, so daisy-chaining together import scenarios should be as easy as putting them in the proper order on the same BE. Flag them to 'Stop on Error' if you want the chain to stop if one of them fails. Then you can monitor that chain of scenarios by creating a GI of BPEventHistory to look for failed event runs, potentially filtered down to that specific Event ID.

My specific use case is simply Stock Item creation with additional import scenarios to populate various inter-record connections like the Vendor catalog, sale price, cross references, related products, etc. from a single master file.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 212 Online
  • 2,405 Members
Our newest member: Brittany Bartman
Latest Post: Importing Acumatica User Roles / User Security Permissions from Excel
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×