|
POST
|
@ArmstKP Please make sure to click to stop it and then start it again - a feed restart by the user is needed to pick up these latest patch changes. If issues are still encountered I will work with both you and support to find a resolution.
... View more
11-20-2023
06:44 AM
|
0
|
1
|
1169
|
|
POST
|
@ArmstKP The patch for this issue has gone live and the issues reported should no longer be encountered.
... View more
11-20-2023
04:12 AM
|
0
|
3
|
1174
|
|
POST
|
@ArmstKP For this error please log a case with Esri Support Services and we can engage as well from the product side to get you to a resolution.
... View more
10-12-2023
04:39 AM
|
0
|
0
|
567
|
|
POST
|
@ArmstKP I have traced down the cause of this to a few things The "95." on line 13 should be 95 or 95.0 Taking a square root of a negative number generating an imaginary number on line 13 is also causing failure. To address this I wrapped the calculation in another ABS() function before the SQRT() function I changed the logic pattern to IIf() functions that update the "HI" variable and also handle the false case. I often recommend this IIf() function in Arcade configurations of Velocity var dictempF = $feature.last_values
var dicvartempF = Dictionary(dictempF)
var tempF = Round((dicvartempF.field1.value * 9/5) + 32,1)
var dichumidity = $feature.last_values
var dicvarhumidity = Dictionary(dichumidity)
var humidity = Round((dicvarhumidity.field2.value),1)
var T = tempF
var RH = humidity
var HI = -42.379 + 2.04901523*T + 10.14333127*RH - .22475541*T*RH - .00683783*T*T - .05481717*RH*RH + .00122874*T*T*RH + .00085282*T*RH*RH - .00000199*T*T*RH*RH;
HI = IIf((RH < 13 && T > 80 && T < 112), HI - (((13-RH)/4)*SQRT(ABS((17-ABS(T-95))/17))), HI);
HI = IIf((RH > 85 && T > 80 && T < 87), HI + (((RH-85)/10) * ((87-T)/5)), HI);
HI = IIf((HI < 80), (0.5 * (T + 61.0 + ((T-68.0)*1.2) + (RH*0.094))), HI);
return Round(HI, 1); Let me know if this addresses the validation error on your side as well and if there is anything else that comes up. Thanks, Peter Nasuti
... View more
10-04-2023
05:17 AM
|
0
|
1
|
1051
|
|
POST
|
@ArmstKP Happy to help on this one - but I would need a sample of $feature.last_values to replicate the issue to be provided for the Arcade field sample value. Can you either email it to me (pnasuti@esri.com), Esri Community private message a sample, or post here if it is data that can be seen by the public? Thanks!
... View more
10-03-2023
11:42 AM
|
0
|
1
|
1099
|
|
POST
|
@ArmstKP Thanks for making this post, I would agree with @brudo 's first question. For a "string/text" type field in Velocity, the Arcade default sample value to be evaluated is the string "Pacific" which would not pass your expression and return your desired data type. The sample values (your JSON in the field) must be provided on the right side for the corresponding field. If you have done this and are still encountering issues, please reach out here or log a support case. Thanks!
... View more
09-26-2023
07:14 PM
|
0
|
0
|
1315
|
|
POST
|
@Teresa_Blader Thanks for posting this question. ArcGIS Velocity feature layer feeds and sources are able to connect to feature layer items stored in or referenced in ArcGIS Online, or unsecured services via URL. In order to connect to secured feature layers, an item must be created in ArcGIS Online that references the service and stores credentials. I would suggest logging a support case to get assistance configuring ArcGIS Online items that store credentials to your services so that they can then be used by Velocity.
... View more
09-20-2023
05:12 AM
|
1
|
0
|
1548
|
|
POST
|
@JeffSilberberg Thanks for the question. These options are not mutually exclusive. Publish a feature layer that keeps the latest observation for each Track ID In addition to the stream layer, Velocity also publishes a feature layer. For each unique value of the user-defined Track ID field, Velocity will keep the most recent observation. This is helpful for a map/application of "where is my moving entity right now?" Select a related feature layer to provide geometry when the stream layer is drawn in a map This is common for "stationary sensor" scenarios where location/geometry is fixed, but attribute values continue to change. It would be excessive to repeatedly send geometry data through with every sensor observation. So, a user would configure a feature layer that has entity locations. There would be a join field that matches values from the feed join field. You select your related feature layer in the feed interface then choose your join fields to match up the values. Esri web clients like the map viewers and more are smart enough to look at the stream layer definition, also load the data from the related feature layer, and render the features as attributes and geometry when the Velocity feed is just processing the attribute data updates. Related documentation: https://doc.arcgis.com/en/iot/disseminate-and-notify/stream-layer.htm
... View more
09-13-2023
08:05 AM
|
1
|
0
|
726
|
|
POST
|
Thanks @MattGeorge1 & @ArmstKP for your time today on separate calls. For the case reported by @MattGeorge1 this was identified as being caused by Editor tracking being disabled on your output online hosted feature layers around the time of the last ArcGIS Online update. Once this was re-enabled by you, the analytic resumed successful processing. For the case reported by @ArmstKP we are continuing to work together to isolate the cause of intermittent issues when Velocity is trying to write to the ArcGIS Online hosted feature layer REST API and receiving errors from ArcGIS Online. Investigation is ongoing and we will continue working directly to find a resolution. For our Velocity users, please continue to log a support case if any issues are encountered with the product. Additionally, from the real-time product team we encourage posts to ask questions or present issues to engage with the real-time product team here on the Esri Community space so that we can ensure your success. Please also feel welcome to direct message on Esri Community myself, @JeffEismanGIS @Yini_Song or other Esri representatives that you see active in the Velocity and GeoEvent space. Thanks!
... View more
08-18-2023
06:04 AM
|
2
|
0
|
2068
|
|
POST
|
@ArmstKP When Velocity throws this log message, it is simply indicating that it is not getting a valid response from the destination layer. I can facilitate coordination with the ArcGIS Online team to see what additional information we can pull from these failure events. I will reach out via Esri Community direct message to provide my email address so that we could review together on a call and find a resolution.
... View more
08-14-2023
05:41 AM
|
0
|
0
|
758
|
|
POST
|
@ArmstKP If the issue is still present, can you please direct message me the item ID (available in the URL of the analytic or the ArcGIS Online item details URL)?
... View more
08-09-2023
01:27 PM
|
0
|
2
|
1004
|
|
POST
|
@ArmstKP If any issues are persisting or any such issues are witnessed again, please reach out to Esri Support Services to create a support case for immediate assistance. In the meantime, I will reach out to the Velocity operations team to check your environment at this point in time.
... View more
08-09-2023
12:56 PM
|
0
|
0
|
1022
|
|
POST
|
@ArmstKP The update today is for a Velocity system component. The upcoming release (Velocity 4.2 Patch 1) is schedule for next Wednesday (8/9/23) which addresses the table source issue and other items. Sorry for any confusion introduced regarding these two different updates.
... View more
08-02-2023
01:02 PM
|
1
|
0
|
906
|
|
POST
|
@ArmstKP Thanks for reporting - there were Velocity system upgrades today for which notifications went out that caused this behavior despite running items continuing to function. The issue should now be resolved and I am in communication with the support analyst assigned to the case that you opened. Apologies for the inconvenience.
... View more
08-02-2023
12:43 PM
|
0
|
0
|
1457
|
|
POST
|
Absolutely! I put together some samples in Arcade (using the Calculate Field tool) to show what it would look like to grab values for specific fields. You would need to ensure to provide sample values for the fields for the Arcade expression builder to successfully evaluate an expression. Example 1: Acquire "fn_battery" value from "metadata" stringified JSON block // Sample workflow to acquire the "fn_battery" field from "metadata" escaped JSON object field
// Sample value for metadata field:
// {\"fn_th\":300,\"fn_light\":900,\"fn_mag\":0,\"fn_mag_int\":0,\"fn_acc_tap1\":0,\"fn_acc_tap2\":0,\"fn_acc_act\":0,\"fn_acc_min\":10,\"fn_bt\":0,\"fn_ext_t\":600,\"fn_battery\":7200,\"fn_dp\":300,\"cg_data_led\":1,\"wifi_mode\":1,\"no_net_fn\":0,\"time_zone\":-5}
// Step 1: Remove the backslashes from the stringified JSON
var slashReplace = Replace($feature.metadata,'\\','');
// Step 2: Convert the non-escaped "proper" JSON to a JSON dictionary, and grab the element of interest
FromJSON(slashReplace)['fn_battery']; Example 2: Acquire "field4 > value" value from "last_values" stringified JSON block // Sample workflow to acquire the "field4 > value" field from "last_values" escaped JSON object field
// Sample value for last_values field:
// {\"field4\":{\"value\":5,\"created_at\":\"2023-07-25T11:45:15Z\"},\"log\":{\"value\":507,\"created_at\":\"2023-07-24T17:03:02Z\"},\"field3\":{\"value\":226.4,\"created_at\":\"2023-07-25T12:55:25Z\"},\"field1\":{\"value\":21.5606,\"created_at\":\"2023-07-25T12:55:34Z\"},\"field2\":{\"value\":57.0855,\"created_at\":\"2023-07-25T12:55:34Z\"},\"field5\":{\"value\":-36,\"created_at\":\"2023-07-25T12:50:38Z\"},\"wifi\":{\"value\":\"ee:55:a8:0a:40:ef,-38;fe:55:a8:0a:40:ef,-38;ee:55:a8:0a:40:bf,-57;fe:55:a8:0a:40:bf,-58;02:18:4a:8c:49:62,-61\",\"created_at\":\"2023-07-24T17:07:49Z\"}}
// Step 1: Remove the backslashes from the stringified JSON
var slashReplace = Replace($feature.last_values,'\\','');
// Step 2: Convert the non-escaped "proper" JSON to a JSON dictionary, and grab the element of interest
FromJSON(slashReplace)['field4']['value']; I then confirmed the success of this expression to an output. Let me know if there are any other questions!
... View more
07-25-2023
12:26 PM
|
1
|
0
|
2905
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-04-2025 05:55 AM | |
| 2 | 04-25-2025 11:39 AM | |
| 1 | 04-08-2025 05:23 AM | |
| 1 | 01-28-2025 06:21 AM | |
| 1 | 01-24-2025 02:34 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|