|
POST
|
and don't forget about the cleanup step -> this will let you frag mxds / versions and attachments for a given job. ta, Fraser
... View more
05-23-2012
09:02 PM
|
0
|
0
|
1620
|
|
POST
|
Hi There, There are a couple of options available to you - you could write a custom step and do it in code, or create a step to call a gp tool (from the LaunchGPTool type) or python script to do it from there. There is a GP tool called Reconcile Version which will do what you want. Here's a few older posts to give you some ideas. http://blogs.esri.com/esri/arcgis/2011/12/06/leveraging-geoprocessing-in-arcgis-workflow-manager-part-1/ http://blogs.esri.com/esri/arcgis/2011/12/13/leveraging-geoprocessing-in-arcgis-workflow-manager-part-2/ http://blogs.esri.com/esri/arcgis/2011/11/15/introducing-custom-steps-in-arcgis-workflow-manager/ and the current help http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Workflow_Manager_Custom_Steps/00380000001w000000/ Cheers, Fraser
... View more
05-22-2012
08:52 PM
|
0
|
0
|
1620
|
|
POST
|
Hi There, Upon looking at the activity types in wmx, I saw that there is a whole heap of tokens that seem able to be used. Examples of these are [CUR_USER],[CUR_NT_USER],[STEP],[HOLD],[VERSION] - you get the idea. These aren't described on http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Using_Tokens/00380000002m000000/ - getting hold of a IJTXParserTokenParser(2) and requesting GetSupportedTokens(2)() returns the list we see in the doc - but get this: t = ps.Item[2] as IJTXTokenParser2; {System.__ComObject} [System.__ComObject]: {System.__ComObject} Caption: "System" Name: "esriJTX.JTXSystemParser.1" t.Parse("[CUR_NT_USER]",pJTXDB,job,null); "handf" So I'm guessing what I'm looking at is this on IJTXActivityType.Message - "The message that will be added to the job's history when this activity is performed. Tokens contained in the message will be parsed at runtime." ah - but which parser is used and what tokens are accepted? so there appears a whole heap of tokens available for configuring activities which would be useful. Has anyone got a list of these? Or what object will return them? Many thanks, Fraser
... View more
05-22-2012
08:30 PM
|
0
|
3
|
3349
|
|
POST
|
Hi There, Has anyone got a list describing the available log levels / codes? The SDK doesn't seem to detail it (not that I've found yet anyway 🙂 ) Thx, Fraser
... View more
05-22-2012
02:04 PM
|
0
|
1
|
1635
|
|
POST
|
Hi There, Does anyone know if it's possible to disable a system activity type from logging history? Say for example if you're not interested in StopStepExec.. Thanks, Fraser
... View more
05-21-2012
08:12 PM
|
0
|
3
|
2390
|
|
POST
|
Thanks Tope, Have you got any samples of this? Thanks, F EDIT: I've been thinking a bit more about this, and was starting to think I needed to reassign a job from a picklist and stamp custom props at the same time - problematic when deploying to the web. But, when thinking a bit more about what Tope has said, I think I can actually maintain it through the AssignJob notification with the message "Job assigned to [CUR_USER] by [FULLNAMEOF([CUR_NT_USER])] on [SYS:CUR_DATE] for [JOB:STATUS_NAME]" thus moving this info from related properties into the default history table, and maintaining it through a whole heap of job status codes. And instead of having a custom step to stamp properties and reassign, I can just have a informational note in the workflow saying - reassign job now. Thanks for getting the noodle started. The fish is in the post. [ATTACH=CONFIG]14508[/ATTACH]
... View more
05-21-2012
01:46 PM
|
0
|
0
|
1541
|
|
POST
|
Thanks Tope, Have you got a sample or code snippet of implementing this? Cheers, Fraser
... View more
05-21-2012
01:25 PM
|
0
|
0
|
774
|
|
POST
|
Hi there, I've tried changing the text and tab_text attribute values in the JTXUIconfig but they don't seem to be honoured. Has anyone seen this behaviour? Are the tab names hard coded? <JOB_PANEL text="Job AOI" tab_text="AOI" assembly_source_type="file" assembly_source="ESRI.ArcGIS.JTXUI.JTXJobView.dll" view_class_name="ESRI.ArcGIS.JTXUI.subpanelAOI" dock_location="bottom" dock_level="1" pinned="true" visible="true" area_width="-1" area_height="-1"> Thanks, Fraser
... View more
05-10-2012
05:48 PM
|
0
|
1
|
1919
|
|
POST
|
Hi There, How have you set up your schema and what users are you using to connect to the wmx schema? The issue may be that you need to fully qualify the SQL in the queries. Have a read of this: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Imported_Job_Queries_Qualifying_Table_Names/003800000033000000/ Cheers, Fraser
... View more
05-06-2012
08:28 PM
|
0
|
0
|
1146
|
|
POST
|
Hi There, Can you elaborate a bit more by what you mean with project portfolio? Ta, F
... View more
05-06-2012
08:24 PM
|
0
|
0
|
845
|
|
POST
|
Hi, Has anyone implemented a step where we validate one field against another? Maybe on a save properties? I have a case where a stamped property field has a designedbyuser field / value, and a revieweruser field /value - so we can't set the reviewer to be the designer. Has anyone done anything like this? Can we pass tokens through the executesql step? Thanks, Fraser
... View more
05-06-2012
08:23 PM
|
0
|
1
|
2778
|
|
POST
|
Hi Guys, Has anyone done / seen / know if there is an update trigger mechanism in JTX? Basically I want some code to run to update an extended property for a given job when it is assigned. There is a chocolate fish in it for any answers supplied! Thanks, Fraser EDIT: I've looked at the history table as when a job is assigned is stored here - but I haven't figured out how I could link this to a specific event. Basically I want to say the job was assigned to me for site visit on date. I would have another step that says, I started my site visit on x date. Then I could query the difference between when the job was assigned for a specific task in the workflow to when that task was started. The problem as I see it with the history table is that you can't seem to associate one event with another. I need to be able to have a step that enables me to select who I what to assign the job to, and store a date with the specific phase of the job. I'm thinking another custom step. Anyone got any ideas? F
... View more
05-06-2012
03:08 PM
|
0
|
3
|
4046
|
|
POST
|
Hi There, Has any seen this? I have a job notification set up to report on a related field (1:m) - but nothing shows in the subsequent email. I thought it may display the last row of the table? Anyone? P.S. I'm not getting a load of love from this forum 😄
... View more
05-03-2012
03:38 PM
|
0
|
3
|
1738
|
|
POST
|
OK I'm an idiot. It's in the sample. Duh. Add a row to the JTX_PROPERTIES table with prop_name="DEFAULT_NOTIFIER" and value="{custom guid}" <slaps forehead>
... View more
05-02-2012
08:17 PM
|
0
|
0
|
658
|
|
POST
|
OK, I used the Custom IJTXNotifier as a base and used sp_send_dbmail as a temporary stop gap. Will most likely write the emails to a table and have another process polling that and sending the mail. Thanks, F
... View more
05-02-2012
08:15 PM
|
0
|
0
|
759
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-05-2026 01:57 PM | |
| 1 | 05-11-2026 08:21 PM | |
| 2 | 07-11-2024 05:14 PM | |
| 3 | 04-03-2024 01:48 PM | |
| 1 | 08-24-2014 10:51 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-09-2026
03:10 PM
|