Melangkah ke langkah alur kerja berikutnya secara eksplisit
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menggunakan perintah next: untuk menentukan urutan langkah alur kerja secara eksplisit dan menjalankan langkah-langkah dalam urutan yang berbeda dari yang muncul dalam definisi alur kerja.
Mempelajari lebih lanjut
Untuk dokumentasi mendetail yang menyertakan contoh kode ini, lihat artikel berikut:
Contoh kode
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],[],[],[],null,["# Explicitly step to the next workflow step\n\nUses the next: command to explicitly define the sequence of workflow steps and executes steps in a different order than they appear in the workflow definition.\n\nExplore further\n---------------\n\n\nFor detailed documentation that includes this code sample, see the following:\n\n- [Jumps](/workflows/docs/reference/syntax/jumps)\n\nCode sample\n-----------\n\n### YAML\n\n - first_step:\n call: http.get\n args:\n url: https://www.somewhere.com/callA\n next: second_step\n - third_step:\n call: http.get\n args:\n url: https://www.somewhere.com/callB\n next: end\n - second_step:\n call: http.get\n args:\n url: https://www.somewhere.com/callC\n next: third_step\n\nWhat's next\n-----------\n\n\nTo search and filter code samples for other Google Cloud products, see the\n[Google Cloud sample browser](/docs/samples?product=workflows)."]]