Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space PRINSAG and version 9.0
Sv translation
languageen

You can save information from one step in a rule for use later in the rule. The best way to pass information to a later rule is by assigning it to a variable. See Variables for information about working with variables. If that does not work for your automation workflow, an alternative is to edit the code for the steps, that is write the information to an external file as outlined below.

For example, you may want to e-mail the details from the earlier step. One way to do this is to write the data to a file.

In the earlier step in the rule:

' In step 1, create an empty file that we will check for later.
Dim fs2 As System.IO.FileStream = System.IO.File.Create("TestPassed")
fs2.Close()


In the later step in the rule:

' In step 2, check to see if the test passed in step 1.
If System.IO.File.Exists("TestPassed") Then

< … Do something … >

End If


You can also write information to the file and read it in the later step.

Sv translation
languagede

Sie können Informationen von einem Schritt in der Regel für die spätere Verwendung in der Regel speichern. Die beste Möglichkeit für das Übermitteln der Informationen an eine spätere Regel ist die Zuweisung an eine Variable. Weitere Informationen über das Arbeiten mit Variablen finden Sie im Abschnitt „Variablen". Wenn das bei Ihrem Automatisierungs-Workflow nicht funktioniert, können Sie alternativ den Code für die Schritte bearbeiten, d. h. die Informationen in eine externe Datei wie unten beschrieben schreiben.
Zum Beispiel können Sie die Angaben aus dem vorangegangenen Schritt per E-Mail versenden. Eine Möglichkeit, dies zu tun, ist das Schreiben der Daten in eine Datei.
Anmerkung:
Im früheren Schritt in der Regel:
' In step 1, create an empty file that we will check for later.
Dim fs2 As System.IO.FileStream = System.IO.File.Create("TestPassed")
fs2.Close()
Im späteren Schritt in der Regel:
' In step 2, check to see if the test passed in step 1.
If System.IO.File.Exists("TestPassed") Then
< … Do something … >
End If
Sie können auch Informationen in die Datei speichern und sie im späteren Schritt lesen.

Sv translation
languagezh

可以保存规则中某步骤的信息供稍后在该规则中使用。 向后续规则传递信息的最佳途径是将其分配给变量。 有关事宜变量的信息,请参见"变量"一节。 如果对您的自动化工作流程不起作用,另外一个方法是编辑步骤的代码,即将信息写入一个外部文件,说明如下。
例如,您可能希望通过电子邮件发送来自先前步骤的详细信息。 实现该操作的一种方式是将数据写入文件。
注:
在规则的先前步骤中:
' In step 1, create an empty file that we will check for later.
Dim fs2 As System.IO.FileStream = System.IO.File.Create("TestPassed")
fs2.Close()
在规则的后续步骤中:
' In step 2, check to see if the test passed in step 1.
If System.IO.File.Exists("TestPassed") Then
< … Do something … >
End If
您也可以将信息写入文件,然后在后续步骤中读取它。

Sv translation
languagees

Puede guardar la información de un paso en una regla para su uso posterior en la regla. La mejor forma de pasar información a una regla posterior es asignarla a una variable. Consulte la sección Variables para obtener información sobre cómo trabajar con variables. Si este método no es adecuado para su flujo de trabajo de automatización, otra opción es editar el código de los pasos, es decir, escribir la información en un archivo externo, como se describe a continuación.
Por ejemplo, puede que desee enviar por correo electrónico los detalles de un paso anterior. Una forma de hacerlo es escribir los datos en un archivo.
Nota:
En el paso anterior de la regla:
' In step 1, create an empty file that we will check for later.
Dim fs2 As System.IO.FileStream = System.IO.File.Create("TestPassed")
fs2.Close()
En el paso posterior de la regla:
' In step 2, check to see if the test passed in step 1.
If System.IO.File.Exists("TestPassed") Then
< … Do something … >
End If
También puede escribir información en el archivo y leerla en el paso posterior.

Sv translation
languagefr

Vous pouvez sauvegarder les informations à partir d'une étape dans une règle pour une utilisation ultérieure. La meilleure façon de transmettre des informations à une règle ultérieure est de les affecter à une variable. Pour plus d'informations sur l'utilisation des variables, reportez-vous à la section Variables. Si cette méthode ne convient pas à votre flux d'automatisation, vous pouvez aussi modifier le code des étapes, c'est-à-dire écrire les informations dans un fichier externe, comme expliqué ci-dessous.
Si vous le souhaitez, vous pouvez par exemple envoyer les détails de l'étape précédente par courrier électronique. L'une des façons de le faire consiste à écrire les données dans un fichier.
Remarque :
Dans l'étape précédente de la règle :
' In step 1, create an empty file that we will check for later.
Dim fs2 As System.IO.FileStream = System.IO.File.Create("TestPassed")
fs2.Close()
Dans l'étape ultérieure de la règle :
' In step 2, check to see if the test passed in step 1.
If System.IO.File.Exists("TestPassed") Then
< … Do something … >
End If
Vous pouvez également écrire des informations dans le fichier et les lire dans l'étape ultérieure.

Sv translation
languageja

ルール内の 1 つの手順の情報を保存して、そのルールの後の手順で使用することができます。 後のルールに情報を渡す場合、情報を変数に割り当てる方法が最も効果的です。 変数の使用方法については、「変数」セクションを参照してください。 お使いの自動ワークフローでこの方法を使用できない場合は、代わりに次に説明するように、外部ファイルに情報を書き込むステップのコードを編集します。
たとえば、E-メールで以前の手順の詳細情報を送信する場合があります。 これを行うには、データをファイルに書き込むという方法があります。
注:
ルール内の前の手順:
' In step 1, create an empty file that we will check for later.
Dim fs2 As System.IO.FileStream = System.IO.File.Create("TestPassed")
fs2.Close()
ルール内の後の手順:
' In step 2, check to see if the test passed in step 1.
If System.IO.File.Exists("TestPassed") Then
< … Do something … >
End If
ファイルに情報を書き込み、後の手順で読み取ることもできます。