Zum Hauptinhalt gehen

VertiGIS Studio Workflow - sketching.cancel exits workflow

Kommentare

12 Kommentare

  • Sindre Sellæg

    Gareth Evans could you check this out?

    Cheers,
    Sindre

    0
  • Gareth Evans

    Hey Sindre Sellæg I infer you want to stop the sketching operation but not entirely bail out and give the user a chance to start sketching again. I have not used the sketching commands recently, though my from-the-hip thought is how about using the sketching.stop command instead?

    If this does not get you further, it would help to see your workflow - an export of the JSON would be ideal. You can upload it here: Uploads from Community

    0
  • Sindre Sellæg

    I want to stop the sketching operation and keep the existing workflow running. By clicking ‘cancel’ in the geometry toolbar while sketching both the sketching and the workflow closes. I shared the .json with you :)

    Clicking ‘cancel’ in the geometry toolbar does indeed fire the sketching.stop command.

    0
  • Gareth Evans

    Thank you for sharing this, Sindre Sellæg. I appreciate you bringing this to our attention. Here are a few points to consider:

    - Language Barrier: As the Workflow is in Dutch, it's challenging to fully analyze the issue. For a more thorough examination, it would be helpful to have an English version or a detailed explanation of the specific steps.
    - Support Team Involvement: Given that this appears to be a product behavior issue, our Support team would be best equipped to handle this. They have the expertise and context to dive deeper into the technical aspects.
    - Focused Example: To better assist you, it would be beneficial to have a simplified version of the Workflow that specifically demonstrates the problem you're encountering.
    - Potential Solution: From what I can gather, to achieve the desired behavior of the Workflow continuing after a user cancels sketching, you might need to implement additional logic to handle the click event for the footer bar. However, without more context, I can't provide a definitive solution.

    I recommend reaching out to our Support team with a focused example of the issue. They can provide more tailored assistance and potentially identify any product-specific behaviors that might be affecting your Workflow.

    0
  • Sindre Sellæg

    Thanks for the reply Gareth Evans . I'll reach out to support with a focused example.

    btw it's Norwegian and not Dutch ;)

    0
  • Nico Burgerhart

    Was also what I wanted to say, Norwegian not Dutch ;-)

    0
  • Gareth Evans

    Hah my apologies gentlemen! Clearly I need to visit so I can learn the differences first hand. 

    I was also thinking about this use case that Sindre is focused on. My instinct is there is a more detailed business need than simply using these two elements together and we (as VertiGIS) would benefit from understanding the goal. 

    Sindre Sellæg can you please give us some more context on what the goal is? I know you have the user drawing some geometry and you need to use the map coordinates in some fashion. It would help to know what the eventual outcome of this workflow would be. 

    Also, if you throw your support ticket number in here once submitted I will look to support them in this. 

    0
  • Sindre Sellæg

    Haha, you should!

    The context is creating a workflow that allows the user to split a line based on a given point. I want to give the user the opportunity to enter coordinates, and then snap the point to the line with sketching. In addition the user can also use the number slider with GeoWidgets turfalong activity to place the point (but that is not relavant with the issue). 

    Another use case is when editing a feature, lets say both attributes and geometry through a workflow. If I for some reason edited the attributes, and started edititng the geometry and then regret that, I would not be pleased if “cancel” exits the whole workflow. It should only exit the geomtry editing.

    Ticket #99088
     

    1
  • Gareth Evans

    Ahh, I see - thanks for sharing the context. I imagine this line is a polyline feature that the user is either finding that already exists or creating a new one, is that accurate?

    To me, that almost sounds like you are building something close to a linear referencing system or a Coordinate Geometry editing system (COGO). I know the product team is evaluating their approach to COGO editing tools for inclusion in the product roadmap though I don’t know specifics. COGO editing is typically something you would only find in desktop applications (ArcGIS Pro, ArcMap, AutoCAD) though I can certainly see the need for a ‘lightweight’ COGO approach for the sort of use case you might want. 

    Can you give us some more details, please? I’m wondering specifically what industry this is based in - are these lines representing utility infrastructure or something else?
     

    0
  • Sindre Sellæg

    For this use case it's a existing polyline, which represents either a sewer or water pipe. This answers your final question ;) 

    How ever I'm not so locked onto this particular use-case, and see it more as a proper behaviour in general (keeping workflows alive when clicking cancel in a integrated web operation GUI).

    0
  • Sindre Sellæg

    Support found a workaround:
    By putting those operations into seperate workflows (subworkflows), the main workflow remains active when clicking “cancel” in the opreation GUI. 

    1
  • Gareth Evans

    Aha, so there is ‘some trick’ after all!

    I hope to see us provide COGO-style editing tools in the future to meet this use case as part of the core VSW product, though for now I am glad to hear you have what you need in a Workflow context.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.