Call Connector Asynchronously

  • aasheesh
    Teilnehmer
      vor 6 Jahren, 1 Monat #16322

       

      1. How to call connector asynchronously in script or business object?

      2. In Process Designer, if we call connector. There is option to set asynchronous to “True” or “False”.

      If we set asynchronous to “True” in connector call, then it shows 2 options

      a) Subscribe

      b) Unsubscribe

       

      what does these option means in this context, when asynchronous set to “True” in connector call?

      Chris Bouveret
      Administrator
        Has successfully completed the online course Introduction
        Has successfully completed the online course Intermediate (200)
        Has successfully completed the online course Advanced (300)
        Has successfully completed the online course Basics (100)
        Has successfully completed the online course Advanced (320)
        Has successfully completed the Intermediate Certification
        Has successfully completed the Advanced Certification
      vor 6 Jahren, 1 Monat #16356
      Up
      0
      Down
      ::

      Hi there,

       

      the asynchronous calls are for the connector types OPC-UA, MQTT and Push as those are all asynchronous connectors. So if you switch to asychronous there will only be those types of connectors available for selection.

      Cheers

      aasheesh
      Teilnehmer
        vor 6 Jahren, 1 Monat #16359
        Up
        0
        Down
        ::

        Hi,

        Suppose i am executing REST connector, and i do not want to wait for the result of connector call and i want to execute some other code, so how can i restrict my REST connector call so that it will not block further execution.

         

        Regards

        Aasheesh

        Chris Bouveret
        Administrator
          Has successfully completed the online course Introduction
          Has successfully completed the online course Intermediate (200)
          Has successfully completed the online course Advanced (300)
          Has successfully completed the online course Basics (100)
          Has successfully completed the online course Advanced (320)
          Has successfully completed the Intermediate Certification
          Has successfully completed the Advanced Certification
        vor 6 Jahren, 1 Monat #16363
        Up
        0
        Down
        ::

        Just deactivate the busy indicator for the connector call and execute your other code not on Success or Error of the connector call but in parallel. This should solve your problem

        .

      Ansicht von 4 Beiträgen – 1 bis 4 (von insgesamt 4)

      You must be logged in to reply to this topic.