Hoppa till huvudinnehållet

Modify a variable in a workflow

Kommentarer

5 kommentarer

  • Ryan Cooney

    Hi Byran,

    For the first problem you can use the string.PadLeft(int totalWidth, char paddingChar) method (http://msdn.microsoft.com/en-us/library/92h5dc07) http://msdn.microsoft.com/en-us/library/92h5dc07 .

    If you have a string variable called "text" you should be able to do this to return a new string 4 characters long with the zeros padded on the left:

    text.PadLeft(4, "0"c)

    --Ryan

    0
  • Bryan Lynn
    Hey Ryan, Thanks for tip but what I can't find is an activity to drop into the IF statement. I set the condition but I can't find any activity that will let me manipulate the variable. BTW - caught your 1st Workflow session today at the user conference - nice job. Hope to watch the advanced session in the morning.
    0
  • Permanently deleted user

    Hi Bryan

    how about Assign'?

    Thanks

    Ralph

    0
  • Bryan Lynn
    Oh . . . Well that was easy!! Thanks for the help - guess I saw "Common Server" and associated those tools with ArcGIS Server.
    0
  • Permanently deleted user

    I think that just means an Activity commonly run on the server as compared to client

    Good luck

    Ralph

    0

Du måste logga in om du vill lämna en kommentar.