How to create your Agent

icon picker
Savepoint option

The
@Platform
implements the
@Savepoint
option, which allows you to make a jump using the
@Jump
@Slot
to an arbitrary place in the
@Script
— the last passed
@Slot
with the
@Savepoint
option enabled.
The
@Savepoint
is an attribute of the
@Slot
, set by activating the “Savepoint” toggle switch in the
@Slot
editing window: ​
image.png
A
@Savepoint
can be assigned to multiple
@Slot
s in a single
@Script
. Every time the
@Script
execution reaches a
@Slot
with the
@Savepoint
option enabled, the
@Context Variable
@savepoint_node_id
where the
@Slot
ID is stored is overwritten. ​
image.png
When the
@Script
execution reaches a
@Jump
@Slot
with the
@Savepoint
option selected in the DESTINATIONS field, the transition to the last passed
@Slot
with the
@Savepoint
option enabled will occur.
Using the
@Memory
@Slot
, the user can save the value of a certain
@Savepoint
to the
@Context Variable
s of the
@Chat
: ​
image.png
And also overwrite the value of the
@Context Variable
@savepoint_node_id
: ​
image.png
If an incorrect value of
@savepoint_node_id
is specified, then when entering the
@Jump
@Slot
with the
@Savepoint
option, a transition to the
@Start
@Slot
will occur.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.