Skip to main content
August 16, 2021
Question

Is there a way to create a folder using a a!forEach loop in a script task

  • August 16, 2021
  • 5 replies
  • 0 views

question in the title.

Thank you.

    5 replies

    mikes0011
    Brainy
    August 16, 2021

    No.  Script tasks can't execute smart services, for one thing - and also it wouldn't really work in an a!forEach loop.  Any reason you can't accomplish what you're after using a standard Create Folder node with MNI?

    The Expression Guru
    August 17, 2021

    well i have a to create folders for new items that get created daily. I don't know how many will be created daily, but I know that in the past it was more than 1000 items, wich causes issues with MNI.  

    dastagirid756
    August 17, 2021

    If its the issue with MNI, follow other strategies like

    Looping topology or

    MNI with recommended best practices or

    Splitting the flow into main and sub process or

    Finally you can increase the MNI limit (recommended under constraints)