I have a flow that won’t stop running from the moment I launch my page. Here is the console:
It was running correctly yesterday, but seems to have just started doing this - the only edit I have made is to have added a parameter and to have extended a condition.
Is there something I can look for to find out why this is happening?
It isn’t set to autorun, and it doesn’t call itself. The code it produces is below.
Best wishes,
Antony.
<script is="dmx-flow" id="flow_lock_event" type="text/dmx-flow">{
meta: {
$param: [
{type: "text", name: "activity_id"},
{type: "text", name: "activity_event_id"},
{type: "text", name: "this_user_id"}
]
},
exec: {
steps: {
condition: {
if: "{{use_locks.value==1}}",
then: {
steps: [
{
serverConnect: {
url: "dmxConnect/api/activities/lock_event.php",
params: {
activity_id: "{{$param.activity_id}}",
activity_event_id: "{{$param.activity_event_id}}"
},
name: "sc_lock_event",
output: true
}
},
{
condition: {
if: "{{(sc_lock_event.data.returned_values.boolean_value==1)&&(sc_lock_event.data.returned_values.id_value!=$param.this_user_id)}}",
then: {
steps: {
run: {
action: "{{is_locked.setValue(1);is_locked_by.setValue(sc_lock_event.data.returned_values.id_value);view_edit.setValue('view');user_message.setValue(sc_lock_event.data.returned_values.text_value);user_message_title.setValue('Event is Being Edited');m_user_message.show()}}"
}
}
},
else: {
steps: [
{
run: {action: "{{view_edit.setValue('edit')}}"}
},
{
run: {action: "{{is_locked_by.setValue(this_user.value)}}"}
}
]
}
}
}
]
},
else: {
steps: {
run: {action: "{{view_edit.setValue('edit')}}"}
}
}
}
}
}
}</script>
Community Page
Last updated:
Last updated: