bildwelt
E2E FORUM
E2E Bridge E2E Commerce

Sleep or wait function

E2E Forum General Discussion Sleep or wait function

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  marcusr 2 years, 2 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2018

    marcusr
    Participant

    Is there a way to delay the execution of a process by using some kind of delay function.
    I want to send idocs to SAP`which are read from a folder as flatfile idocs and send them to SAP. The problem is that SAP can’t keep up with the speed that E2E is sending the files.
    I want to delay each time a file is send to SAP with 1 second but i cannot find some sleep or wait function. When i use a timer it will always run at 1 second even when there is nothing to process. That will be overkill.
    What do you suggest ?
    Best regards,

    Marcus

    #2019

    Alfred
    Moderator

    You can use the <<BlockThread>> adapter. It will block the current activity for some time.

    Add an action and select BlockThread in the Action Wizard. You can add one or both input parameters.
    Parameter time is in seconds.
    Parameter highResolutionTime is in milliseconds.

    #2020

    marcusr
    Participant

    Hi Alfred,

    This seems to do the trick, thanks.

    Marcus

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.