Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
protogrid:agents [2020-04-22 09:19] – [Example] jus | protogrid:agents [2020-04-22 09:22] – [Example] jus | ||
---|---|---|---|
Line 3: | Line 3: | ||
Agents run periodically and execute code specified by the user. | Agents run periodically and execute code specified by the user. | ||
- | Note: Agents are only available in billed | + | Note: Agents are only available in environments that run Protogrid 2.1 or higher. |
===== Setup ===== | ===== Setup ===== | ||
Line 13: | Line 13: | ||
==== Example ==== | ==== Example ==== | ||
- Create a Proto with a DateTime Field and a Text Field. Copy the key of the Text Field. | - Create a Proto with a DateTime Field and a Text Field. Copy the key of the Text Field. | ||
- | - Create a user profile with the according | + | - Create a user profile with rights |
- Create an Agent Library, specify the user created above as context user and copy the following code. Replace the value of // | - Create an Agent Library, specify the user created above as context user and copy the following code. Replace the value of // | ||
- Add this Agent Library to your Proto. | - Add this Agent Library to your Proto. |