Last modified by jklein on 2025/02/13 13:15

From version 24.1
edited by jklein
on 2025/02/06 15:03
Change comment: There is no comment for this version
To version 25.1
edited by jklein
on 2025/02/06 15:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -414,42 +414,6 @@
414 414  1. Wechseln Sie in den Skript-Tab //OnStart //und fügen Sie den nachfolgenden Code in die Datei ein.
415 415  1. Wechseln Sie in den Skript-Tab //OnExecute //und fügen Sie den nachfolgenden Code in die Datei ein.
416 416  
417 -|(% style="width:698px" %){{code}}#
418 -# This gets executed perpetually by the scheduler. Main business logic should go here.
419 -#
420 -
421 -try {
422 - # Trying to fetch new data
423 - Write-Host "Fetching new data from the api."
424 - $result = Get-ISSData -ApiUrl $configuration.ApiUrl
425 -
426 - # Converting the data to icql
427 - $icql = ConvertTo-AESBIcql $result
428 -
429 - # Sending the data to the next microserice
430 - Publish-AESBMessage -Alias $configuration.Target -Message $icql
431 -}
432 -catch {
433 - Write-Error $_
434 -}{{/code}}|(% style="width:928px" %){{code}}#
435 -# This gets executed perpetually by the scheduler. Main business logic should go here.
436 -#
437 -
438 -try {
439 - # Trying to fetch new data
440 - Write-Host "Fetching new data from the api."
441 - $result = Get-ISSData -ApiUrl $configuration.ApiUrl
442 -
443 - # Converting the data to icql
444 - $icql = ConvertTo-AESBIcql $result
445 -
446 - # Sending the data to the next microserice
447 - Publish-AESBMessage -Alias $configuration.Target -Message $icql
448 -}
449 -catch {
450 - Write-Error $_
451 -}{{/code}}
452 -
453 453  (% class="wikigeneratedid" %)
454 454  **ISSAssetImporter**
455 455  
© Aagon GmbH 2025
Besuchen Sie unsere neue Aagon-Community